mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3371>
This commit is contained in:
parent
258ad57b87
commit
0cdddaa4a7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue