diff options
Diffstat (limited to 'js/tools/ShapeTool.js')
-rwxr-xr-x | js/tools/ShapeTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/ShapeTool.js b/js/tools/ShapeTool.js index 90b403a4..c0681200 100755 --- a/js/tools/ShapeTool.js +++ b/js/tools/ShapeTool.js | |||
@@ -143,7 +143,7 @@ exports.ShapeTool = Montage.create(DrawingTool, { | |||
143 | _showFeedbackOnMouseMove: { | 143 | _showFeedbackOnMouseMove: { |
144 | value: function (event) { | 144 | value: function (event) { |
145 | // TODO - This call is causing the canvas to redraw 3 times per mouse move | 145 | // TODO - This call is causing the canvas to redraw 3 times per mouse move |
146 | var targetedObject = this.application.ninja.stage.GetSelectableElement(event); | 146 | var targetedObject = this.application.ninja.stage.getElement(event, true); |
147 | 147 | ||
148 | if (targetedObject) { | 148 | if (targetedObject) { |
149 | if((targetedObject.nodeName === "CANVAS") && !ShapesController.isElementAShape(targetedObject)) | 149 | if((targetedObject.nodeName === "CANVAS") && !ShapesController.isElementAShape(targetedObject)) |