diff options
author | Nivesh Rajbhandari | 2012-02-24 11:55:15 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-24 11:55:15 -0800 |
commit | 8dd707776024ff067064e7841810d04f2f7a1df7 (patch) | |
tree | e207ccd702cd26e68ae15e7ff24bdf144658fbd1 /js/tools/InkBottleTool.js | |
parent | 6ad427c4975b9a30f87dfb8ad53614cd4b6e65b9 (diff) | |
download | ninja-8dd707776024ff067064e7841810d04f2f7a1df7.tar.gz |
Adjusting fill and ink bottle cursors to match the tips of the icons.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
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 | } |