aboutsummaryrefslogtreecommitdiff
path: root/js/tools/InkBottleTool.js
diff options
context:
space:
mode:
authorPushkar Joshi2012-02-28 14:19:25 -0800
committerPushkar Joshi2012-02-28 14:19:25 -0800
commit16d6a90579cdafede931a9c818689fad2e622d8b (patch)
treee87f5d4a131d3574ef06cff1c46373d5b1046956 /js/tools/InkBottleTool.js
parent03ca7a5ed13c25faaa9100bb666e062fd15335e6 (diff)
parent63307c9abf120985d979a40a53a0598d3f0d5c5a (diff)
downloadninja-16d6a90579cdafede931a9c818689fad2e622d8b.tar.gz
Merge branch 'pentool' into brushtool
Diffstat (limited to 'js/tools/InkBottleTool.js')
-rwxr-xr-xjs/tools/InkBottleTool.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/InkBottleTool.js b/js/tools/InkBottleTool.js
index 2be74ada..8340ef50 100755
--- a/js/tools/InkBottleTool.js
+++ b/js/tools/InkBottleTool.js
@@ -16,14 +16,14 @@ exports.InkBottleTool = Montage.create(ModifierToolBase, {
16 value : function (event) 16 value : function (event)
17 { 17 {
18 var obj = this.application.ninja.stage.GetElement(event); 18 var obj = this.application.ninja.stage.GetElement(event);
19 var cursor = "url('images/cursors/ink.png') 17 12, default"; 19 var cursor = "url('images/cursors/ink.png') 6 11, default";
20 var canColor = true; 20 var canColor = true;
21 if (obj) 21 if (obj)
22 { 22 {
23 var name = obj.nodeName; 23 var name = obj.nodeName;
24 if ((name !== 'CANVAS') && (name !== 'DIV')) 24 if ((name !== 'CANVAS') && (name !== 'DIV'))
25 { 25 {
26 cursor = "url('images/cursors/ink_no.png') 17 12, default"; 26 cursor = "url('images/cursors/ink_no.png') 6 11, default";
27 canColor = false; 27 canColor = false;
28 } 28 }
29 } 29 }