diff options
author | Jose Antonio Marquez | 2012-06-27 16:26:16 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-27 16:26:16 -0700 |
commit | 4f0104b0120219cbba2e0ac02c7b6aea437dd212 (patch) | |
tree | d2c2155217d43a7c2bf73cff8c32a996b9a677df /js/panels | |
parent | 60554730ac89bb874f811ba312c491d5caacf8ce (diff) | |
download | ninja-4f0104b0120219cbba2e0ac02c7b6aea437dd212.tar.gz |
Fixing minor color history bug
Diffstat (limited to 'js/panels')
-rwxr-xr-x | js/panels/color/colorpanelbase.reel/colorpanelbase.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/panels/color/colorpanelbase.reel/colorpanelbase.js b/js/panels/color/colorpanelbase.reel/colorpanelbase.js index 40c384fb..7208c2da 100755 --- a/js/panels/color/colorpanelbase.reel/colorpanelbase.js +++ b/js/panels/color/colorpanelbase.reel/colorpanelbase.js | |||
@@ -1452,6 +1452,10 @@ exports.ColorPanelBase = Montage.create(Component, { | |||
1452 | } else if (input === 'fill') { | 1452 | } else if (input === 'fill') { |
1453 | other = 'stroke'; | 1453 | other = 'stroke'; |
1454 | } | 1454 | } |
1455 | if (this.colorManager.input === 'chip') { | ||
1456 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); | ||
1457 | return; | ||
1458 | } | ||
1455 | //TODO: Change popup to use montage's built in popup | 1459 | //TODO: Change popup to use montage's built in popup |
1456 | if (this.colorManager.input === input) { | 1460 | if (this.colorManager.input === input) { |
1457 | // | 1461 | // |
@@ -1469,10 +1473,6 @@ exports.ColorPanelBase = Montage.create(Component, { | |||
1469 | } | 1473 | } |
1470 | } | 1474 | } |
1471 | } else { | 1475 | } else { |
1472 | if (this.colorManager.input === 'chip') { | ||
1473 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); | ||
1474 | return; | ||
1475 | } | ||
1476 | //TODO: Change popup to use montage's built in popup | 1476 | //TODO: Change popup to use montage's built in popup |
1477 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); | 1477 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); |
1478 | // | 1478 | // |