aboutsummaryrefslogtreecommitdiff
path: root/js/tools/FillTool.js
diff options
context:
space:
mode:
authorAnanya Sen2012-02-29 14:53:13 -0800
committerAnanya Sen2012-02-29 14:53:13 -0800
commit5d4f1aad01737695238582c704e6d4f2c3a2f317 (patch)
treebf202a3432e3cfa928a57ee80d54af91b9e2509a /js/tools/FillTool.js
parentccedeef38d6eb2e55d1782b82401828f3c99dd9c (diff)
parent551e1f2be11e9e6ab7af17816396b88aafd57dff (diff)
downloadninja-5d4f1aad01737695238582c704e6d4f2c3a2f317.tar.gz
Merge branch 'refs/heads/ninja-internal-master' into FileIO
Diffstat (limited to 'js/tools/FillTool.js')
-rwxr-xr-xjs/tools/FillTool.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/FillTool.js b/js/tools/FillTool.js
index 46d76a19..4b07ae83 100755
--- a/js/tools/FillTool.js
+++ b/js/tools/FillTool.js
@@ -22,14 +22,14 @@ exports.FillTool = Montage.create(ModifierToolBase, {
22 value : function (event) 22 value : function (event)
23 { 23 {
24 var obj = this.application.ninja.stage.GetElement(event); 24 var obj = this.application.ninja.stage.GetElement(event);
25 var cursor = "url('images/cursors/fill.png') 17 12, default"; 25 var cursor = "url('images/cursors/fill.png') 14 14, default";
26 var canColor = true; 26 var canColor = true;
27 if (obj) 27 if (obj)
28 { 28 {
29 var name = obj.nodeName; 29 var name = obj.nodeName;
30 if ((name !== 'CANVAS') && (name !== 'DIV')) 30 if ((name !== 'CANVAS') && (name !== 'DIV'))
31 { 31 {
32 cursor = "url('images/cursors/nofill.png') 17 12, default"; 32 cursor = "url('images/cursors/nofill.png') 14 14, default";
33 canColor = false; 33 canColor = false;
34 } 34 }
35 } 35 }