diff options
author | Valerio Virgillito | 2012-07-23 17:06:41 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-23 17:06:41 -0700 |
commit | a3f04ac0a68e428017dc51a1ba28c33f250adaf6 (patch) | |
tree | a1718ced92903b3638d702fef25aa25495d7f6c1 /js/tools | |
parent | fb6b9cb1f7ee29bb2e8d7178479717f650d0b7b5 (diff) | |
parent | e9d08c7af751d75af16371fcac06fd1af8a60fac (diff) | |
download | ninja-a3f04ac0a68e428017dc51a1ba28c33f250adaf6.tar.gz |
Merge branch 'SevenDotOneCommits' of https://github.com/ericmueller/ninja
Diffstat (limited to 'js/tools')
-rwxr-xr-x | js/tools/modifier-tool-base.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js index c772e36c..d12ba7d2 100755 --- a/js/tools/modifier-tool-base.js +++ b/js/tools/modifier-tool-base.js | |||
@@ -569,7 +569,11 @@ exports.ModifierToolBase = Montage.create(DrawingTool, { | |||
569 | var alignArray = new Array(); | 569 | var alignArray = new Array(); |
570 | snapManager.snapAlignToElementBounds( this._clickedObject, delta, alignArray ); | 570 | snapManager.snapAlignToElementBounds( this._clickedObject, delta, alignArray ); |
571 | if (alignArray.length > 0) | 571 | if (alignArray.length > 0) |
572 | { | ||
573 | alignArray.push( hitRec ); | ||
574 | snapManager.sortHitRecords( alignArray ); | ||
572 | hitRec = alignArray[0]; | 575 | hitRec = alignArray[0]; |
576 | } | ||
573 | } | 577 | } |
574 | } | 578 | } |
575 | 579 | ||