aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rwxr-xr-xjs/panels/color/colorpanelpopup.reel/colorpanelpopup.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/color/colorpanelpopup.reel/colorpanelpopup.js b/js/panels/color/colorpanelpopup.reel/colorpanelpopup.js
index f2e5bb2e..3eb6eec6 100755
--- a/js/panels/color/colorpanelpopup.reel/colorpanelpopup.js
+++ b/js/panels/color/colorpanelpopup.reel/colorpanelpopup.js
@@ -282,11 +282,13 @@ exports.ColorPanelPopup = Montage.create(Component, {
282 if (tab !== this.gradients) { 282 if (tab !== this.gradients) {
283 this.gradients.style.display = 'none'; 283 this.gradients.style.display = 'none';
284 // 284 //
285 if (this._components.wheel._value) { 285 /*
286if (this._components.wheel._value) {
286 this._components.wheel.value = {h: this._components.wheel._value.h, s: this._components.wheel._value.s, v: this._components.wheel._value.v, wasSetByCode: false}; 287 this._components.wheel.value = {h: this._components.wheel._value.h, s: this._components.wheel._value.s, v: this._components.wheel._value.v, wasSetByCode: false};
287 } else { 288 } else {
288 this._components.wheel.value = {h: 0, s: 1, v: 1, wasSetByCode: false}; 289 this._components.wheel.value = {h: 0, s: 1, v: 1, wasSetByCode: false};
289 } 290 }
291*/
290 } else { 292 } else {
291 this.gradients.style.display = 'block'; 293 this.gradients.style.display = 'block';
292 this.alpha.style.display = 'none'; 294 this.alpha.style.display = 'none';