aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-31 15:34:55 -0700
committerNivesh Rajbhandari2012-05-31 15:35:09 -0700
commit4b455d9bb1c3ff7a8199628dc66e158cdee936df (patch)
treedc165289fb2a2d90d1df3afbbbb7df0fb4537bba /js/stage
parentffe6c157279e115f4658d8c66622085f05cfbf43 (diff)
downloadninja-4b455d9bb1c3ff7a8199628dc66e158cdee936df.tar.gz
Removing unused scroll model save/restore.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage.reel/stage.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index cd08c55d..fd9db5ec 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -1040,22 +1040,6 @@ exports.Stage = Montage.create(Component, {
1040 } 1040 }
1041 }, 1041 },
1042 1042
1043 saveScroll:{
1044 value: function(){
1045 this.application.ninja.documentController.activeDocument.savedLeftScroll = this._iframeContainer.scrollLeft;
1046 this.application.ninja.documentController.activeDocument.savedTopScroll = this._iframeContainer.scrollTop;
1047 }
1048 },
1049
1050 restoreScroll:{
1051 value: function(){
1052 this._iframeContainer.scrollLeft = this.application.ninja.documentController.activeDocument.savedLeftScroll;
1053 this._scrollLeft = this.application.ninja.documentController.activeDocument.savedLeftScroll;
1054 this._iframeContainer.scrollTop = this.application.ninja.documentController.activeDocument.savedTopScroll;
1055 this._scrollTop = this.application.ninja.documentController.activeDocument.savedTopScroll;
1056 }
1057 },
1058
1059 showRulers:{ 1043 showRulers:{
1060 value:function(){ 1044 value:function(){
1061 this.application.ninja.rulerTop.style.display = "block"; 1045 this.application.ninja.rulerTop.style.display = "block";