aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-16 15:48:38 -0800
committerValerio Virgillito2012-02-16 15:48:38 -0800
commit09a8bda18d6408547645d4d707a504a2fbbb5db9 (patch)
tree026fc3a6a68aa8d7e7ce26bed6c65447e138d373 /js/stage
parent8e3697a61fd44ffa9bcf9555f7b43143606753e8 (diff)
downloadninja-09a8bda18d6408547645d4d707a504a2fbbb5db9.tar.gz
Fixed the stage scroll by hiding the rulers.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage-view.reel/stage-view.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js
index cd19f361..46d74e13 100755
--- a/js/stage/stage-view.reel/stage-view.js
+++ b/js/stage/stage-view.reel/stage-view.js
@@ -198,14 +198,14 @@ exports.StageView = Montage.create(Component, {
198 }, 198 },
199 showRulers:{ 199 showRulers:{
200 value:function(){ 200 value:function(){
201 this.application.ninja.rulerTop.style.display = "block"; 201 this.application.ninja.rulerTop.style.background = "url('../images/temp/ruler-top.png')";
202 this.application.ninja.rulerLeft.style.display = "block"; 202 this.application.ninja.rulerLeft.style.background = "url('../images/temp/ruler-left.png')";
203 } 203 }
204 }, 204 },
205 hideRulers:{ 205 hideRulers:{
206 value:function(){ 206 value:function(){
207 this.application.ninja.rulerTop.style.display = "none"; 207 this.application.ninja.rulerTop.style.background = "rgb(128,128,128)";
208 this.application.ninja.rulerLeft.style.display = "none"; 208 this.application.ninja.rulerLeft.style.background = "rgb(128,128,128)";
209 } 209 }
210 }, 210 },
211 211