diff options
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-x | js/ninja.reel/ninja.js | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 9942300c..94f69ed8 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -511,27 +511,17 @@ exports.Ninja = Montage.create(Component, { | |||
511 | 511 | ||
512 | executeLivePreview: { | 512 | executeLivePreview: { |
513 | value: function() { | 513 | value: function() { |
514 | var background, overflow, transitionStopRule; | 514 | var transitionStopRule; |
515 | this.stage.hideCanvas(this.appModel.livePreview); | 515 | // this.stage.hideCanvas(this.appModel.livePreview); |
516 | 516 | ||
517 | // TODO: Remove marker for old template: NINJA-STAGE-REWORK | ||
518 | if(this.appModel.livePreview) { | 517 | if(this.appModel.livePreview) { |
519 | // background = "#000000"; | ||
520 | // overflow = "hidden"; | ||
521 | transitionStopRule = "nj-css-garbage-selector"; | 518 | transitionStopRule = "nj-css-garbage-selector"; |
522 | this.stage.bindingView.hide = true; | 519 | this.stage.bindingView.hide = true; |
523 | } else { | 520 | } else { |
524 | // background = "#808080"; | ||
525 | // overflow = "visible"; | ||
526 | transitionStopRule = "*" | 521 | transitionStopRule = "*" |
527 | this.stage.bindingView.hide = false; | 522 | this.stage.bindingView.hide = false; |
528 | } | 523 | } |
529 | 524 | ||
530 | // TODO: Remove marker for old template: NINJA-STAGE-REWORK | ||
531 | // this.currentDocument.model.documentRoot.elementModel.controller.setProperty(this.currentDocument.model.documentRoot, "body-background", background); | ||
532 | // this.currentDocument.model.documentRoot.elementModel.controller.setProperty(this.currentDocument.model.documentRoot, "overflow", overflow); | ||
533 | // this.currentDocument.model.documentRoot.elementModel.controller.changeSelector(this.currentDocument.model.documentRoot, "transitionStopRule", transitionStopRule); | ||
534 | |||
535 | this.application.ninja.stylesController._stageStylesheet.rules[0].selectorText = transitionStopRule; | 525 | this.application.ninja.stylesController._stageStylesheet.rules[0].selectorText = transitionStopRule; |
536 | 526 | ||
537 | this._toggleWebGlAnimation(this.appModel.livePreview); | 527 | this._toggleWebGlAnimation(this.appModel.livePreview); |