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 | |
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>
-rwxr-xr-x | js/tools/FillTool.js | 4 | ||||
-rwxr-xr-x | js/tools/InkBottleTool.js | 4 |
2 files changed, 4 insertions, 4 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 | } |
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 | } |