diff options
author | Valerio Virgillito | 2012-06-01 16:19:18 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-01 16:19:18 -0700 |
commit | fa7b5f8acc933fd12d31c24b350156b42c26b96a (patch) | |
tree | c8a4463ed7621ae43cb661aad6ebca021251ecb6 | |
parent | 75fc82ce49d6f1eb05dc950b46292d42b5856005 (diff) | |
parent | 3ac4d43ccb04ee29ea0018fe3b301b2334bc6665 (diff) | |
download | ninja-fa7b5f8acc933fd12d31c24b350156b42c26b96a.tar.gz |
Merge branch 'document-bindings-fix' of github.com:mencio/ninja-internal into document-bindings-fix
-rwxr-xr-x | js/tools/drawing-tool-base.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/drawing-tool-base.js b/js/tools/drawing-tool-base.js index 3549de1c..a752ad65 100755 --- a/js/tools/drawing-tool-base.js +++ b/js/tools/drawing-tool-base.js | |||
@@ -86,7 +86,7 @@ exports.DrawingToolBase = Montage.create(Component, { | |||
86 | // return null; | 86 | // return null; |
87 | // } | 87 | // } |
88 | if(downHitRec) { | 88 | if(downHitRec) { |
89 | hitRec = hitRec.convertToWorkingPlane(this.dragPlane); | 89 | hitRec = hitRec.convertToWorkingPlane(this.dragPlane || downHitRec.getPlane()); |
90 | } else if ((hitRec.getType() !== hitRec.SNAP_TYPE_STAGE) && !hitRec.isSomeGridTypeSnap()) { | 90 | } else if ((hitRec.getType() !== hitRec.SNAP_TYPE_STAGE) && !hitRec.isSomeGridTypeSnap()) { |
91 | hitRec = hitRec.convertToWorkingPlane( snapManager.getDragPlane() ); | 91 | hitRec = hitRec.convertToWorkingPlane( snapManager.getDragPlane() ); |
92 | } | 92 | } |