aboutsummaryrefslogtreecommitdiff
path: root/js/models/color-model.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/models/color-model.js')
-rwxr-xr-xjs/models/color-model.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/models/color-model.js b/js/models/color-model.js
index a8ceb981..1fb2ba9c 100755
--- a/js/models/color-model.js
+++ b/js/models/color-model.js
@@ -154,7 +154,7 @@ exports.ColorModel = Montage.create(Component, {
154 this._alpha = value; 154 this._alpha = value;
155 // 155 //
156 if (this.rgb || this.hsl) { 156 if (this.rgb || this.hsl) {
157 this._dispatchChangeEvent('alpha', value); 157 this._dispatchChangeEvent('alpha', value);
158 } 158 }
159 } 159 }
160 }, 160 },
@@ -445,7 +445,7 @@ exports.ColorModel = Montage.create(Component, {
445 } 445 }
446 if (this.hex) 446 if (this.hex)
447 colorEvent.hex = this.hex; 447 colorEvent.hex = this.hex;
448 //Standard values that apply to any event 448 //Standard values that apply to any event
449 colorEvent.value = value; 449 colorEvent.value = value;
450 colorEvent.mode = mode; 450 colorEvent.mode = mode;
451 if (value && value.wasSetByCode) { 451 if (value && value.wasSetByCode) {