aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-28 15:02:57 -0800
committerNivesh Rajbhandari2012-02-28 15:02:57 -0800
commitea5962641519b9d32499c4440112e7fa821e3a79 (patch)
treed5745f891cd6573f6d0a23fc9c75ede383bf6082 /js
parenta70c62891d0c7dd032d9382c50d1555ab81c4e33 (diff)
downloadninja-ea5962641519b9d32499c4440112e7fa821e3a79.tar.gz
Fix for "jumping" issue when using the selection tool repeatedly.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-xjs/tools/SelectionTool.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index 37029e8c..83d52d52 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -305,6 +305,9 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
305 newHeight.push(_h + "px"); 305 newHeight.push(_h + "px");
306 306
307 viewUtils.setMatrixForElement(elt, previousMat); 307 viewUtils.setMatrixForElement(elt, previousMat);
308
309 this._targets[i].mat = previousMat;
310 this._targets[i].matInv = glmat4.inverse(previousMat, []);
308 } 311 }
309 } 312 }
310 if(addToUndoStack) 313 if(addToUndoStack)