summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorTeddy Wing2013-11-10 03:47:18 -0500
committerTeddy Wing2013-11-10 03:47:18 -0500
commit5cf73055b6fba5ed8b6d22456b2f6847b36098dc (patch)
tree61196e7766566e030b3a15fc9b04c73e9e5b716d /index.html
parentd04aabc49ccb152b9997612a9896ad40539151f2 (diff)
downloadclip-play-5cf73055b6fba5ed8b6d22456b2f6847b36098dc.tar.bz2
Add a bar between the clip lines
Displays the selected portion of the video, and highlights between the clip lines. When you drag a clip line, the selected bar resizes accordingly. When you drag the bar, the clip lines move along with it to a different part of the video. NOTE: the dragging responsiveness is a little laggy right now. Kind of janky to be honest. Hopefully we can figure out a way to make the connection a bit smoother.
Diffstat (limited to 'index.html')
-rw-r--r--index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.html b/index.html
index cac15b9..05622ec 100644
--- a/index.html
+++ b/index.html
@@ -46,6 +46,8 @@
<span class="js-time"></span>
</div>
</div>
+
+ <div class="selected-bar js-selected-bar"></div>
<div class="clip-line js-clip-line js-end-position">
<div class="drag-handle js-drag-handle">
@@ -66,6 +68,7 @@
<script src="/assets/js/models/sample.js"></script>
<script src="/assets/js/collections/samples.js"></script>
<script src="/assets/js/views/sample-add-view.js"></script>
+ <script src="/assets/js/views/selected-bar.js"></script>
<script src="/assets/js/views/clip-line.js"></script>
<script src="/assets/js/views/sample.js"></script>
<script src="/assets/js/views/sample-editor.js"></script>