diff options
author | Valerio Virgillito | 2012-05-08 17:32:57 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-08 17:32:57 -0700 |
commit | dd7a68b7c35c19932760e5cae87fd1d232a4cff1 (patch) | |
tree | 9f2962e16881a608251e067c85eb3a60109a7384 /js/tools/drawing-tool-base.js | |
parent | cb9e4b68b307f3bbc898fd482eb2668120cd4d18 (diff) | |
parent | d220c02e246b30509b28a47fa04916ca2b8122e4 (diff) | |
download | ninja-dd7a68b7c35c19932760e5cae87fd1d232a4cff1.tar.gz |
Merge branch 'refs/heads/master' into dom-architecture
Diffstat (limited to 'js/tools/drawing-tool-base.js')
-rwxr-xr-x | js/tools/drawing-tool-base.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/tools/drawing-tool-base.js b/js/tools/drawing-tool-base.js index 376b3a27..84641754 100755 --- a/js/tools/drawing-tool-base.js +++ b/js/tools/drawing-tool-base.js | |||
@@ -36,9 +36,8 @@ exports.DrawingToolBase = Montage.create(Montage, { | |||
36 | * 2 - Y value converted to screen point | 36 | * 2 - Y value converted to screen point |
37 | */ | 37 | */ |
38 | getInitialSnapPoint: { | 38 | getInitialSnapPoint: { |
39 | value: function(x, y, shapeCanvas) { | 39 | value: function(x, y, shapeCanvas) |
40 | snapManager.clearDragPlane(); | 40 | { |
41 | |||
42 | // update the snap settings | 41 | // update the snap settings |
43 | snapManager.enableSnapAlign( snapManager.snapAlignEnabledAppLevel() ); | 42 | snapManager.enableSnapAlign( snapManager.snapAlignEnabledAppLevel() ); |
44 | snapManager.enableElementSnap( snapManager.elementSnapEnabledAppLevel() ); | 43 | snapManager.enableElementSnap( snapManager.elementSnapEnabledAppLevel() ); |