diff options
author | hwc487 | 2012-02-22 04:44:07 -0800 |
---|---|---|
committer | hwc487 | 2012-02-22 04:44:07 -0800 |
commit | 9d3589feb0174c09d1c1bac405660f8900259c7d (patch) | |
tree | e016fac42e16871b4f2a8d3896cde0bfb786f29f /js/tools/ZoomTool.js | |
parent | f06f44ab3fcca109f126eae4f6fb915c5dd28791 (diff) | |
download | ninja-9d3589feb0174c09d1c1bac405660f8900259c7d.tar.gz |
Adding bug fixes.
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") |