aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-15 15:14:34 -0700
committerJose Antonio Marquez2012-06-15 15:14:34 -0700
commitfbd9d2492aeaef392ad59792825b8757d6c363fc (patch)
tree0dd06cc81b258763f40628eabcb21fa186ab43b8 /js/tools
parent43fdc63a00edede743212c0cefe2bd29a63de2ad (diff)
downloadninja-fbd9d2492aeaef392ad59792825b8757d6c363fc.tar.gz
Fixing apply 'no color'
This should fix canvas and standard DOM elements including the root (body or template wrapper).
Diffstat (limited to 'js/tools')
-rwxr-xr-xjs/tools/EyedropperTool.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/EyedropperTool.js b/js/tools/EyedropperTool.js
index 6a56004d..30a6a48b 100755
--- a/js/tools/EyedropperTool.js
+++ b/js/tools/EyedropperTool.js
@@ -240,7 +240,7 @@ exports.EyedropperTool = Montage.create(toolBase, {
240 else 240 else
241 { 241 {
242 this.application.ninja.colorController.colorModel.alpha = {value: 1, wasSetByCode: true, type: eventType}; 242 this.application.ninja.colorController.colorModel.alpha = {value: 1, wasSetByCode: true, type: eventType};
243 this.application.ninja.colorController.colorModel.applyNoColor(); 243 this.application.ninja.colorController.colorModel.applyNoColor(true);
244 if(updateColorToolBar) 244 if(updateColorToolBar)
245 { 245 {
246 this._previousColor = "none"; 246 this._previousColor = "none";