diff options
author | Kruti Shah | 2012-02-08 09:45:29 -0800 |
---|---|---|
committer | Kruti Shah | 2012-02-08 09:45:29 -0800 |
commit | 6787bda807ad3974b29cab77628cc5c3c1b06a9d (patch) | |
tree | 61d2439e2edb0dd9c84b5f32fe35e57707b87637 /js/panels/Timeline/TimelinePanel.reel | |
parent | 2cfa420f48735e2718cd0824d4e945c72158d0fa (diff) | |
parent | 91df2e8030db394060667202a97138db3f871fa5 (diff) | |
download | ninja-6787bda807ad3974b29cab77628cc5c3c1b06a9d.tar.gz |
Merge branch 'refs/heads/Timeline' into Timeline_updated
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
3 files changed, 6 insertions, 2 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html index 35f348c7..9ed69f4a 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.html | |||
@@ -34,7 +34,8 @@ | |||
34 | "element": {"#": "layer_resizer"}, | 34 | "element": {"#": "layer_resizer"}, |
35 | "panel" : {"#" : "timeline_leftpane"}, | 35 | "panel" : {"#" : "timeline_leftpane"}, |
36 | "isVertical" : false, | 36 | "isVertical" : false, |
37 | "isInversed" : false | 37 | "isInversed" : false, |
38 | "isPanel" : false | ||
38 | } | 39 | } |
39 | }, | 40 | }, |
40 | 41 | ||
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 31bdd217..ef353490 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -192,6 +192,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
192 | handleDeleteLayerClick:{ | 192 | handleDeleteLayerClick:{ |
193 | value:function(event){ | 193 | value:function(event){ |
194 | event.stopPropagation(); | 194 | event.stopPropagation(); |
195 | this._deleteKeyDown=false; | ||
195 | if(this.application.ninja.currentSelectedContainer.id==="UserContent"){ | 196 | if(this.application.ninja.currentSelectedContainer.id==="UserContent"){ |
196 | this._hashKey="123"; | 197 | this._hashKey="123"; |
197 | } | 198 | } |
@@ -574,7 +575,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
574 | drawTimeMarkers:{ | 575 | drawTimeMarkers:{ |
575 | value:function(){ | 576 | value:function(){ |
576 | var i; | 577 | var i; |
577 | var totalMarkers = Math.floor(this.track_container.offsetWidth / 80); | 578 | var totalMarkers = Math.floor(this.time_markers.offsetWidth / 80); |
578 | for(i=0;i<totalMarkers;i++){ | 579 | for(i=0;i<totalMarkers;i++){ |
579 | var timeMark = document.createElement("div"); | 580 | var timeMark = document.createElement("div"); |
580 | var markValue = this.calculateTimeMarkerValue(i); | 581 | var markValue = this.calculateTimeMarkerValue(i); |
diff --git a/js/panels/Timeline/TimelinePanel.reel/css/TimelinePanel.css b/js/panels/Timeline/TimelinePanel.reel/css/TimelinePanel.css index 0a73705a..cbae49c8 100644 --- a/js/panels/Timeline/TimelinePanel.reel/css/TimelinePanel.css +++ b/js/panels/Timeline/TimelinePanel.reel/css/TimelinePanel.css | |||
@@ -27,6 +27,7 @@ | |||
27 | } | 27 | } |
28 | .tl_leftpane{ | 28 | .tl_leftpane{ |
29 | min-width: 200px; | 29 | min-width: 200px; |
30 | max-width: 500px; | ||
30 | position: relative; | 31 | position: relative; |
31 | overflow: hidden; | 32 | overflow: hidden; |
32 | -webkit-box-flex: 0; | 33 | -webkit-box-flex: 0; |
@@ -142,6 +143,7 @@ | |||
142 | left: 0px; | 143 | left: 0px; |
143 | height: 20px; | 144 | height: 20px; |
144 | width: 100%; | 145 | width: 100%; |
146 | border-bottom-style: solid; | ||
145 | } | 147 | } |
146 | 148 | ||
147 | .masterlayer{ | 149 | .masterlayer{ |