bugfix
This commit is contained in:
parent
0733ceb3b6
commit
89ec27790d
@ -13704,7 +13704,7 @@
|
||||
shift = (this.isLight() ? -1 : 1) * Math.abs(shift);
|
||||
}
|
||||
rgb = [];
|
||||
_ref = this.privateRGB;
|
||||
_ref = this.privateRGB();
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
color = _ref[_i];
|
||||
rgb.push(minmax(color + shift));
|
||||
|
||||
@ -13715,7 +13715,7 @@
|
||||
shift = (this.isLight() ? -1 : 1) * Math.abs(shift);
|
||||
}
|
||||
rgb = [];
|
||||
_ref = this.privateRGB;
|
||||
_ref = this.privateRGB();
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
color = _ref[_i];
|
||||
rgb.push(minmax(color + shift));
|
||||
|
||||
@ -54,5 +54,5 @@ class Color
|
||||
shiftRGB: (shift, smart) ->
|
||||
shift = (if @isLight() then -1 else 1) * Math.abs shift if smart
|
||||
rgb = []
|
||||
rgb.push minmax color + shift for color in @privateRGB
|
||||
rgb.push minmax color + shift for color in @privateRGB()
|
||||
rgb.join ""
|
||||
Loading…
x
Reference in New Issue
Block a user