diff options
author | Jose Antonio Marquez | 2012-06-27 17:27:17 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-27 17:27:17 -0700 |
commit | 5cd0ec9be1de5014c227118333be8ec596e908bd (patch) | |
tree | e85389cc9d76f14823ef42e03371c1521a4e24e0 /js/panels/color/colorpanelbase.reel | |
parent | 221995c36dbb24c7b2a2691c0fead7e578bfc5a8 (diff) | |
download | ninja-5cd0ec9be1de5014c227118333be8ec596e908bd.tar.gz |
Fixing history bug
Diffstat (limited to 'js/panels/color/colorpanelbase.reel')
-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 7208c2da..24eb86ea 100755 --- a/js/panels/color/colorpanelbase.reel/colorpanelbase.js +++ b/js/panels/color/colorpanelbase.reel/colorpanelbase.js | |||
@@ -1421,6 +1421,10 @@ exports.ColorPanelBase = Montage.create(Component, { | |||
1421 | // | 1421 | // |
1422 | selectInputType: { | 1422 | selectInputType: { |
1423 | value: function (type) { | 1423 | value: function (type) { |
1424 | if (this.colorManager.input === 'chip') { | ||
1425 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); | ||
1426 | return; | ||
1427 | } | ||
1424 | //Checking for the type to be formatted as expected, otherwise we unselected all buttons | 1428 | //Checking for the type to be formatted as expected, otherwise we unselected all buttons |
1425 | try { | 1429 | try { |
1426 | type._event.srcElement.inputType; | 1430 | type._event.srcElement.inputType; |
@@ -1452,10 +1456,6 @@ exports.ColorPanelBase = Montage.create(Component, { | |||
1452 | } else if (input === 'fill') { | 1456 | } else if (input === 'fill') { |
1453 | other = 'stroke'; | 1457 | other = 'stroke'; |
1454 | } | 1458 | } |
1455 | if (this.colorManager.input === 'chip') { | ||
1456 | this.application.ninja.colorController.colorPopupManager.hideColorPopup(); | ||
1457 | return; | ||
1458 | } | ||
1459 | //TODO: Change popup to use montage's built in popup | 1459 | //TODO: Change popup to use montage's built in popup |
1460 | if (this.colorManager.input === input) { | 1460 | if (this.colorManager.input === input) { |
1461 | // | 1461 | // |