aboutsummaryrefslogtreecommitdiff
path: root/js/tools/InkBottleTool.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-28 13:33:45 -0800
committerJose Antonio Marquez2012-02-28 13:33:45 -0800
commit933ed4c880128eed80bdc6372eb1dfdb23af4c37 (patch)
tree77a3d7edeefa60d9096b2b3368be11374f354b74 /js/tools/InkBottleTool.js
parent6af71de5b80fd531901e82b12372446b569902d8 (diff)
parent7c9291a5bab4abd849547f8878f6fb962fc88250 (diff)
downloadninja-933ed4c880128eed80bdc6372eb1dfdb23af4c37.tar.gz
Merge branch 'refs/heads/NinjaInternal' into FileIO
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 }