diff options
author | Nivesh Rajbhandari | 2012-05-31 15:34:55 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-31 15:35:09 -0700 |
commit | 4b455d9bb1c3ff7a8199628dc66e158cdee936df (patch) | |
tree | dc165289fb2a2d90d1df3afbbbb7df0fb4537bba | |
parent | ffe6c157279e115f4658d8c66622085f05cfbf43 (diff) | |
download | ninja-4b455d9bb1c3ff7a8199628dc66e158cdee936df.tar.gz |
Removing unused scroll model save/restore.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-x | js/stage/stage.reel/stage.js | 16 |
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"; |