🐛 Fix color parsing on GNOME 47
This commit is contained in:
+1
-1
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user