🎉 Add support for GNOME Shell 47

This commit is contained in:
Simon Schneegans
2024-07-31 07:54:47 +02:00
parent d3d88383f7
commit 00882e1898
15 changed files with 60 additions and 47 deletions
+1 -2
View File
@@ -46,9 +46,8 @@ export default class Effect {
// Write all uniform values at the start of each animation.
shader.connect('begin-animation', (shader, settings) => {
const c = Clutter.Color.from_string(settings.get_string('tv-effect-color'))[1];
shader.set_uniform_float(
shader._uColor, 4, [c.red / 255, c.green / 255, c.blue / 255, c.alpha / 255]);
shader._uColor, 4, utils.parseColor(settings.get_string('tv-effect-color')));
});
});
}