aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-28 11:06:53 -0700
committerValerio Virgillito2012-03-28 11:06:53 -0700
commit119f5902df944f2f92ea18de0ab634df7a55d879 (patch)
tree89ba6e7487c4186c71404e15ec0a6d1870e9279a /js/stage
parent675fffb08f570783f055471501f94fc273de2b9e (diff)
parent28b7e870ac4cd023ddf1ffee7a1b122257f57190 (diff)
downloadninja-119f5902df944f2f92ea18de0ab634df7a55d879.tar.gz
Merge pull request #139 from dhg637/ResizersRefactoring
Resizers refactoring
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage-view.reel/stage-view.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js
index ad67cada..1f471431 100755
--- a/js/stage/stage-view.reel/stage-view.js
+++ b/js/stage/stage-view.reel/stage-view.js
@@ -200,14 +200,18 @@ exports.StageView = Montage.create(Component, {
200 }, 200 },
201 showRulers:{ 201 showRulers:{
202 value:function(){ 202 value:function(){
203 this.application.ninja.rulerTop.style.background = "url('../images/temp/ruler-top.png')"; 203 this.application.ninja.rulerTop.style.display = "block";
204 this.application.ninja.rulerLeft.style.background = "url('../images/temp/ruler-left.png')"; 204 this.application.ninja.rulerLeft.style.display = "block";
205// this.application.ninja.rulerTop.style.background = "url('../images/temp/ruler-top.png')";
206// this.application.ninja.rulerLeft.style.background = "url('../images/temp/ruler-left.png')";
205 } 207 }
206 }, 208 },
207 hideRulers:{ 209 hideRulers:{
208 value:function(){ 210 value:function(){
209 this.application.ninja.rulerTop.style.background = "rgb(128,128,128)"; 211 this.application.ninja.rulerTop.style.display = "none";
210 this.application.ninja.rulerLeft.style.background = "rgb(128,128,128)"; 212 this.application.ninja.rulerLeft.style.display = "none";
213// this.application.ninja.rulerTop.style.background = "rgb(128,128,128)";
214// this.application.ninja.rulerLeft.style.background = "rgb(128,128,128)";
211 } 215 }
212 }, 216 },
213 217