diff options
author | Valerio Virgillito | 2012-03-26 15:35:59 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-03-26 15:35:59 -0700 |
commit | 309dde5a8c4599cef6a1052c1ff9ee1ad8ec5858 (patch) | |
tree | af3b114d6a83ae62dfcead8bd61bc62efe0c9516 /js/panels/color | |
parent | 63f0cab872879f72021692f064b044a0cde2459a (diff) | |
parent | 23b89609d7fc26f3523b4a8e354fa8c8208cbdbf (diff) | |
download | ninja-309dde5a8c4599cef6a1052c1ff9ee1ad8ec5858.tar.gz |
Merge pull request #142 from joseeight/Color
Color Bug Fix
Diffstat (limited to 'js/panels/color')
-rwxr-xr-x | js/panels/color/colorpopup-manager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/color/colorpopup-manager.js b/js/panels/color/colorpopup-manager.js index a4c9a8c2..d6d94807 100755 --- a/js/panels/color/colorpopup-manager.js +++ b/js/panels/color/colorpopup-manager.js | |||
@@ -68,7 +68,7 @@ exports.ColorPopupManager = Montage.create(Component, { | |||
68 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); | 68 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); |
69 | }.bind(this)); | 69 | }.bind(this)); |
70 | // | 70 | // |
71 | document.addEventListener('click', function (e) { | 71 | document.addEventListener('mousedown', function (e) { |
72 | // | 72 | // |
73 | if (e._event.srcElement.id === 'stageCanvas' || e._event.srcElement.id === 'mainContainer' || e._event.srcElement.id === 'drawingCanvas') { | 73 | if (e._event.srcElement.id === 'stageCanvas' || e._event.srcElement.id === 'mainContainer' || e._event.srcElement.id === 'drawingCanvas') { |
74 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); | 74 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); |