aboutsummaryrefslogtreecommitdiff
path: root/js/tools/ToolBase.js
diff options
context:
space:
mode:
authorhwc4872012-07-09 16:08:02 -0700
committerhwc4872012-07-09 16:08:02 -0700
commit5085d0f67df89a21715308956004164597a6ba79 (patch)
tree2c896163143a66331205a39b0a3b1b45d51bf12a /js/tools/ToolBase.js
parent51f1691f792dbda9b740ded8aa0457c9406db156 (diff)
parent84b3327bd92faafab7954b5eb64c7abe24a3fe13 (diff)
downloadninja-5085d0f67df89a21715308956004164597a6ba79.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into GridFixes
Conflicts: js/helper-classes/3D/StageLine.js
Diffstat (limited to 'js/tools/ToolBase.js')
-rwxr-xr-xjs/tools/ToolBase.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tools/ToolBase.js b/js/tools/ToolBase.js
index 7f4b6f46..8cc77300 100755
--- a/js/tools/ToolBase.js
+++ b/js/tools/ToolBase.js
@@ -89,7 +89,7 @@ exports.toolBase = Montage.create(Component, {
89 HandleShiftKeyUp: { value : function () {} }, 89 HandleShiftKeyUp: { value : function () {} },
90 HandleAltKeyDown: { value : function () {} }, 90 HandleAltKeyDown: { value : function () {} },
91 HandleAltKeyUp: { value : function () {} }, 91 HandleAltKeyUp: { value : function () {} },
92 92
93 HandleSpaceDown: { value: function() { this._isSpace = true; } }, 93 HandleSpaceDown: { value: function() { this._isSpace = true; } },
94 HandleSpaceUp: { value: function() { this._isSpace = false; } }, 94 HandleSpaceUp: { value: function() { this._isSpace = false; } },
95 95
@@ -137,7 +137,7 @@ exports.toolBase = Montage.create(Component, {
137 137
138 previousZoomValue = this.application.ninja.documentBar.zoomFactor; 138 previousZoomValue = this.application.ninja.documentBar.zoomFactor;
139 upperBoundary = previousZoomValue *1.2 ; 139 upperBoundary = previousZoomValue *1.2 ;
140 140
141 if(upperBoundary > 2000) 141 if(upperBoundary > 2000)
142 this.application.ninja.documentBar.zoomFactor = 2000; 142 this.application.ninja.documentBar.zoomFactor = 2000;
143 else 143 else
@@ -149,7 +149,7 @@ exports.toolBase = Montage.create(Component, {
149 zoomOut:{ 149 zoomOut:{
150 value:function(){ 150 value:function(){
151 var lowerBoundary ,previousZoomValue; 151 var lowerBoundary ,previousZoomValue;
152 152
153 previousZoomValue = this.application.ninja.documentBar.zoomFactor ; 153 previousZoomValue = this.application.ninja.documentBar.zoomFactor ;
154 lowerBoundary = previousZoomValue/1.2 ; 154 lowerBoundary = previousZoomValue/1.2 ;
155 155
@@ -178,7 +178,7 @@ exports.toolBase = Montage.create(Component, {
178 178
179// if (drawUtils.isDrawingGrid()) 179// if (drawUtils.isDrawingGrid())
180// { 180// {
181// snapManager.updateWorkingPlaneFromView(); 181// snapManager.updateWorkingPlaneFromView();
182// } 182// }
183 } 183 }
184 }, 184 },