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/FillTool.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/FillTool.js')
-rwxr-xr-x | js/tools/FillTool.js | 4 |
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 | } |