diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index cfb5f9979..2646aa455 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -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)); diff --git a/builds/crx/script.js b/builds/crx/script.js index bb8f15dd1..9eae81628 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -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)); diff --git a/src/Theming/color.coffee b/src/Theming/color.coffee index 761cde571..b51ec25c8 100644 --- a/src/Theming/color.coffee +++ b/src/Theming/color.coffee @@ -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 "" \ No newline at end of file