diff options
Diffstat (limited to 'js/stage')
-rwxr-xr-x | js/stage/stage.reel/stage.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js index a7c22a7f..b181dc70 100755 --- a/js/stage/stage.reel/stage.js +++ b/js/stage/stage.reel/stage.js | |||
@@ -855,6 +855,12 @@ exports.Stage = Montage.create(Component, { | |||
855 | } | 855 | } |
856 | }, | 856 | }, |
857 | 857 | ||
858 | setStageAsViewport: { | ||
859 | value: function() { | ||
860 | this.stageDeps.viewUtils.setViewportObj(this.application.ninja.currentDocument.documentRoot); | ||
861 | } | ||
862 | }, | ||
863 | |||
858 | setZoom: { | 864 | setZoom: { |
859 | value: function(value) { | 865 | value: function(value) { |
860 | if(!this._firstDraw) | 866 | if(!this._firstDraw) |