diff options
Diffstat (limited to 'js/tools/ToolBase.js')
-rwxr-xr-x | js/tools/ToolBase.js | 8 |
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 | }, |