✨ Apply clang-format

This commit is contained in:
Simon Schneegans
2024-07-31 08:04:10 +02:00
parent 00882e1898
commit 0bd8b5988f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ export default class Effect {
// Write all uniform values at the start of each animation.
shader.connect('begin-animation', (shader, settings, forOpening, testMode) => {
for (let i = 1; i <= 3; i++) {
shader.set_uniform_float(shader._uColor[i - 1], 3,
shader.set_uniform_float(
shader._uColor[i - 1], 3,
utils.parseColor(settings.get_string('wisps-color-' + i)));
}
+1 -1
View File
@@ -145,5 +145,5 @@ export function parseColor(color) {
}
}
return [ r/255, g/255, b/255, a ];
return [r / 255, g / 255, b / 255, a];
}