diff options
author | Nivesh Rajbhandari | 2012-02-22 11:58:45 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-22 11:58:45 -0800 |
commit | 75bca514358ed90b8b4274bafed9422c82695776 (patch) | |
tree | b956398809f7bf492a0eedea4993fad8f08a4f89 /js/tools/ZoomTool.js | |
parent | 50bb05efbafc9a80f069dfde32988e5cd6826865 (diff) | |
download | ninja-75bca514358ed90b8b4274bafed9422c82695776.tar.gz |
Integrating Zoom tool fixes.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/ZoomTool.js')
-rwxr-xr-x | js/tools/ZoomTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/ZoomTool.js b/js/tools/ZoomTool.js index 4b6705c1..93caf984 100755 --- a/js/tools/ZoomTool.js +++ b/js/tools/ZoomTool.js | |||
@@ -146,7 +146,7 @@ exports.ZoomTool = Montage.create(DrawingTool, { | |||
146 | var dx = Math.abs(point.x - this.downPoint.x), | 146 | var dx = Math.abs(point.x - this.downPoint.x), |
147 | dy = Math.abs(point.y - this.downPoint.y); | 147 | dy = Math.abs(point.y - this.downPoint.y); |
148 | 148 | ||
149 | if ((dx >= 4) || (dy >= 4)) | 149 | if ((dx >= 10) || (dy >= 10)) |
150 | { | 150 | { |
151 | // Drawing the Marquee | 151 | // Drawing the Marquee |
152 | if(this.options.selectedElement==="zoomInTool") | 152 | if(this.options.selectedElement==="zoomInTool") |