aboutsummaryrefslogtreecommitdiff
path: root/js/stage/stage.reel/stage.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/stage/stage.reel/stage.js')
-rwxr-xr-xjs/stage/stage.reel/stage.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index 9e2df5a2..4364b45d 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -876,5 +876,20 @@ exports.Stage = Montage.create(Component, {
876 876
877 this.stageDeps.snapManager.updateWorkingPlaneFromView(); 877 this.stageDeps.snapManager.updateWorkingPlaneFromView();
878 } 878 }
879 },
880
881 saveStageScroll:{
882 value: function(){
883 this.savedLeftScroll = this._iframeContainer.scrollLeft;
884 this.savedTopScroll = this._iframeContainer.scrollTop;
885 }
886 },
887 applySavedScroll:{
888 value: function(){
889 this._iframeContainer.scrollLeft = this.savedLeftScroll;
890 this._scrollLeft = this.savedLeftScroll;
891 this._iframeContainer.scrollTop = this.savedTopScroll;
892 this._scrollTop = this.savedTopScroll;
893 }
879 } 894 }
880}); \ No newline at end of file 895}); \ No newline at end of file