From 0cdddaa4a7fcb5a92b011da94e1ad66129e3c81d Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Fri, 14 Jun 2024 19:06:39 +0200 Subject: [PATCH] ui/animation: Fix a de-ClutterColor fallout Fixes: 7f0b1e98c ("cleanup: Adapt to removed ClutterColor") Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7722 Part-of: --- js/ui/animation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/animation.js b/js/ui/animation.js index 5ceba6910..b9cb9802c 100644 --- a/js/ui/animation.js +++ b/js/ui/animation.js @@ -147,7 +147,7 @@ class Spinner extends AnimatedIcon { this.connect('style-changed', () => { const themeNode = this.get_theme_node(); const textColor = themeNode.get_foreground_color(); - const [, luminance] = textColor.to_hls(); + const [, , luminance] = textColor.to_hsl(); const file = luminance > 0.5 ? this._fileDark : this._fileLight;