diff options
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index d50360e6..3e016c0c 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -418,7 +418,7 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
418 | defaultEventManager.dispatchEvent(newEvent); | 418 | defaultEventManager.dispatchEvent(newEvent); |
419 | that.isMainCollapsed = that.mainCollapser.isCollapsed; | 419 | that.isMainCollapsed = that.mainCollapser.isCollapsed; |
420 | } | 420 | } |
421 | this.mainCollapser.needsDraw = true; | 421 | //this.mainCollapser.needsDraw = true; |
422 | 422 | ||
423 | this.positionCollapser.clicker = this.clickerPosition; | 423 | this.positionCollapser.clicker = this.clickerPosition; |
424 | this.positionCollapser.myContent = this.contentPosition; | 424 | this.positionCollapser.myContent = this.contentPosition; |
@@ -437,7 +437,7 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
437 | defaultEventManager.dispatchEvent(newEvent); | 437 | defaultEventManager.dispatchEvent(newEvent); |
438 | that.isPositionCollapsed = that.positionCollapser.isCollapsed; | 438 | that.isPositionCollapsed = that.positionCollapser.isCollapsed; |
439 | } | 439 | } |
440 | this.positionCollapser.needsDraw = true; | 440 | //this.positionCollapser.needsDraw = true; |
441 | 441 | ||
442 | this.transformCollapser.clicker = this.clickerTransform; | 442 | this.transformCollapser.clicker = this.clickerTransform; |
443 | this.transformCollapser.myContent = this.contentTransform; | 443 | this.transformCollapser.myContent = this.contentTransform; |
@@ -456,13 +456,13 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
456 | defaultEventManager.dispatchEvent(newEvent); | 456 | defaultEventManager.dispatchEvent(newEvent); |
457 | that.isTransformCollapsed = that.transformCollapser.isCollapsed; | 457 | that.isTransformCollapsed = that.transformCollapser.isCollapsed; |
458 | } | 458 | } |
459 | this.transformCollapser.needsDraw = true; | 459 | //this.transformCollapser.needsDraw = true; |
460 | 460 | ||
461 | this.styleCollapser.clicker = this.clickerStyle; | 461 | this.styleCollapser.clicker = this.clickerStyle; |
462 | this.styleCollapser.myContent = this.contentStyle; | 462 | this.styleCollapser.myContent = this.contentStyle; |
463 | this.styleCollapser.element = this.element; | 463 | this.styleCollapser.element = this.element; |
464 | this.styleCollapser.isCollapsed = this.isStyleCollapsed; | 464 | this.styleCollapser.isCollapsed = this.isStyleCollapsed; |
465 | this.styleCollapser.contentHeight = 20; | 465 | this.styleCollapser.contentHeight = 0; |
466 | this.styleCollapser.isAnimated = true; | 466 | this.styleCollapser.isAnimated = true; |
467 | this.styleCollapser.labelClickEvent = function(boolBypass) { | 467 | this.styleCollapser.labelClickEvent = function(boolBypass) { |
468 | var newEvent = document.createEvent("CustomEvent"); | 468 | var newEvent = document.createEvent("CustomEvent"); |
@@ -474,7 +474,7 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
474 | defaultEventManager.dispatchEvent(newEvent); | 474 | defaultEventManager.dispatchEvent(newEvent); |
475 | that.isStyleCollapsed = that.styleCollapser.isCollapsed; | 475 | that.isStyleCollapsed = that.styleCollapser.isCollapsed; |
476 | } | 476 | } |
477 | this.styleCollapser.needsDraw = true; | 477 | //this.styleCollapser.needsDraw = true; |
478 | 478 | ||
479 | // Add event listeners to add and delete style buttons | 479 | // Add event listeners to add and delete style buttons |
480 | this.buttonAddStyle.identifier = "addStyle"; | 480 | this.buttonAddStyle.identifier = "addStyle"; |
@@ -485,7 +485,7 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
485 | 485 | ||
486 | // Add mousedown listener to set isActive | 486 | // Add mousedown listener to set isActive |
487 | this.element.addEventListener("mousedown", this, false); | 487 | this.element.addEventListener("mousedown", this, false); |
488 | //this.element.addEventListener("click", this, false); | 488 | this.element.addEventListener("click", this, false); |
489 | 489 | ||
490 | } | 490 | } |
491 | }, | 491 | }, |