diff options
author | Eric Guzman | 2012-04-30 13:48:43 -0700 |
---|---|---|
committer | Eric Guzman | 2012-04-30 13:48:43 -0700 |
commit | 23d8efd4ed9e8fd43f516595009679fb44c8096d (patch) | |
tree | 7d5be06e6417102702a49ece24fca82528aced7a /js/tools/modifier-tool-base.js | |
parent | ae94b22c27b9b155e94bf140631e7faf8f55c6c0 (diff) | |
parent | c8fac64d4ad8ac18744a17a5e0f0d17204355fd6 (diff) | |
download | ninja-23d8efd4ed9e8fd43f516595009679fb44c8096d.tar.gz |
Merge branch 'refs/heads/master' into CSSPanelUpdates
Diffstat (limited to 'js/tools/modifier-tool-base.js')
-rwxr-xr-x | js/tools/modifier-tool-base.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js index 2e006c35..d023206a 100755 --- a/js/tools/modifier-tool-base.js +++ b/js/tools/modifier-tool-base.js | |||
@@ -134,7 +134,7 @@ exports.ModifierToolBase = Montage.create(DrawingTool, { | |||
134 | var hitRec = snapManager.snap(point.x, point.y, do3DSnap); | 134 | var hitRec = snapManager.snap(point.x, point.y, do3DSnap); |
135 | 135 | ||
136 | // TODO - Check that hitRec's element matches element that browser says we clicked on | 136 | // TODO - Check that hitRec's element matches element that browser says we clicked on |
137 | var elt = this.application.ninja.stage.GetSelectableElement(event); | 137 | var elt = this.application.ninja.stage.getElement(event, true); |
138 | if(elt !== hitRec.getElement()) | 138 | if(elt !== hitRec.getElement()) |
139 | { | 139 | { |
140 | hitRec = snapManager.findHitRecordForElement(elt); | 140 | hitRec = snapManager.findHitRecordForElement(elt); |