🎉 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
@@ -61,10 +61,9 @@ export default class Effect {
// And update all uniforms at the start of each animation.
shader.connect('begin-animation', (shader, settings) => {
for (let i = 1; i <= 5; i++) {
const c = Clutter.Color.from_string(settings.get_string('fire-color-' + i))[1];
shader.set_uniform_float(
shader._uGradient[i - 1], 4,
[c.red / 255, c.green / 255, c.blue / 255, c.alpha / 255]);
utils.parseColor(settings.get_string('fire-color-' + i)));
}
// clang-format off