aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Layer.reel/Layer.html
diff options
context:
space:
mode:
authorJon Reid2012-03-26 17:04:28 -0700
committerJon Reid2012-03-26 17:04:28 -0700
commit8ef667315ca6a81bb1369943eaf3643ae2db5037 (patch)
tree935717b633e4a1c50ef3c43270ac2b45b1eea83b /js/panels/Timeline/Layer.reel/Layer.html
parent6902b20474da22029d84d92a5a6bfa129a30d92e (diff)
downloadninja-8ef667315ca6a81bb1369943eaf3643ae2db5037.tar.gz
Timeline: Drag and Drop of layers.
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.html')
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.html32
1 files changed, 3 insertions, 29 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.html b/js/panels/Timeline/Layer.reel/Layer.html
index ef98bdd5..454c2742 100644
--- a/js/panels/Timeline/Layer.reel/Layer.html
+++ b/js/panels/Timeline/Layer.reel/Layer.html
@@ -23,7 +23,8 @@
23 "transformCollapser" : {"@" : "transformCollapser"}, 23 "transformCollapser" : {"@" : "transformCollapser"},
24 "styleCollapser" : {"@" : "styleCollapser"}, 24 "styleCollapser" : {"@" : "styleCollapser"},
25 "clickerMain" : {"#" : "clicker-main"}, 25 "clickerMain" : {"#" : "clicker-main"},
26 "myLabel" : {"#" : "myLabel"} 26 "myLabel" : {"#" : "myLabel"},
27 "dragDrop" : {"@" : "DragDrop"}
27 } 28 }
28 }, 29 },
29 "dtext1" : { 30 "dtext1" : {
@@ -315,34 +316,7 @@
315 "oneway" : false 316 "oneway" : false
316 } 317 }
317 } 318 }
318 }, 319 }
319
320 "DragDrop": {
321 "module": "js/panels/Timeline/DragDrop.js",
322 "name": "DragDropComposer",
323 "properties": {
324 "element": {"#": "myLabel"},
325 "component": {"@": "owner"}
326 },
327 "listeners": [
328 {
329 "type": "dragStart",
330 "listener": {"@": "owner"}
331 },
332 {
333 "type": "dropHover",
334 "listener": {"@": "owner"}
335 },
336 {
337 "type": "dropped",
338 "listener": {"@": "owner"}
339 },
340 {
341 "type": "dropEnd",
342 "listener": {"@": "owner"}
343 }
344 ]
345 }
346 320
347 321
348 } 322 }