diff options
author | Ananya Sen | 2012-02-29 14:53:13 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-29 14:53:13 -0800 |
commit | 5d4f1aad01737695238582c704e6d4f2c3a2f317 (patch) | |
tree | bf202a3432e3cfa928a57ee80d54af91b9e2509a /js/tools/InkBottleTool.js | |
parent | ccedeef38d6eb2e55d1782b82401828f3c99dd9c (diff) | |
parent | 551e1f2be11e9e6ab7af17816396b88aafd57dff (diff) | |
download | ninja-5d4f1aad01737695238582c704e6d4f2c3a2f317.tar.gz |
Merge branch 'refs/heads/ninja-internal-master' into FileIO
Diffstat (limited to 'js/tools/InkBottleTool.js')
-rwxr-xr-x | js/tools/InkBottleTool.js | 4 |
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 | } |