🐛 Fix color parsing on GNOME 47

This commit is contained in:
Simon Schneegans
2024-08-01 05:46:20 +02:00
parent b99d2fa310
commit a30d10bab6
+1 -1
View File
@@ -165,7 +165,7 @@ export async function executeCommand(argv, input = null, cancellable = null) {
export function parseColor(string) {
let color;
if (shellVersionIsAtLeast(47, 'alpha')) {
color = Cogl.Color.from_string(color)[1];
color = Cogl.Color.from_string(string)[1];
} else {
color = Clutter.Color.from_string(string)[1];
}