diff options
author | Valerio Virgillito | 2012-04-26 17:10:03 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-26 17:10:03 -0700 |
commit | 6c1aa27b7753bc9007514859b42160fae265740d (patch) | |
tree | f9a01321bafbc8baf91b0d8b0f6c43ddf5453c5d /js/tools/FillTool.js | |
parent | 7968f3a9cf56392c914d6bd44cc90145b6d807a3 (diff) | |
parent | a0ba2437965f486667d07bba60c031a11d778e6a (diff) | |
download | ninja-6c1aa27b7753bc9007514859b42160fae265740d.tar.gz |
Merge branch 'stage-document-architecture' of https://github.com/mencio/ninja-internal into serialization
Diffstat (limited to 'js/tools/FillTool.js')
-rwxr-xr-x | js/tools/FillTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/FillTool.js b/js/tools/FillTool.js index 746f20cf..87a093ff 100755 --- a/js/tools/FillTool.js +++ b/js/tools/FillTool.js | |||
@@ -22,7 +22,7 @@ exports.FillTool = Montage.create(ModifierToolBase, { | |||
22 | HandleMouseMove: { | 22 | HandleMouseMove: { |
23 | value : function (event) | 23 | value : function (event) |
24 | { | 24 | { |
25 | var obj = this.application.ninja.stage.GetSelectableElement(event); | 25 | var obj = this.application.ninja.stage.getElement(event, true); |
26 | var cursor = "url('images/cursors/fill.png') 14 14, default"; | 26 | var cursor = "url('images/cursors/fill.png') 14 14, default"; |
27 | var canColor = true; | 27 | var canColor = true; |
28 | if (obj) | 28 | if (obj) |