🪲 Try fixing #86

This commit is contained in:
Simon Schneegans
2022-02-02 13:13:16 +01:00
parent 432a0a7998
commit f9b82c6086
+6 -3
View File
@@ -460,9 +460,12 @@ class Extension {
shader.set_uniform_value('uSizeY', actor.height);
});
transition.connect('completed', () => {
actor.remove_effect_by_name(`burn-my-windows-effect`);
});
// Remove the effect if the animation finished or was interrupted.
if (forOpening) {
transition.connect('stopped', () => {
actor.remove_effect_by_name(`burn-my-windows-effect`);
});
}
}
// Finally, ensure that all animation times are set properly so that other extensions