🪲 Try fixing #86
This commit is contained in:
+4
-1
@@ -460,10 +460,13 @@ class Extension {
|
|||||||
shader.set_uniform_value('uSizeY', actor.height);
|
shader.set_uniform_value('uSizeY', actor.height);
|
||||||
});
|
});
|
||||||
|
|
||||||
transition.connect('completed', () => {
|
// Remove the effect if the animation finished or was interrupted.
|
||||||
|
if (forOpening) {
|
||||||
|
transition.connect('stopped', () => {
|
||||||
actor.remove_effect_by_name(`burn-my-windows-effect`);
|
actor.remove_effect_by_name(`burn-my-windows-effect`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Finally, ensure that all animation times are set properly so that other extensions
|
// Finally, ensure that all animation times are set properly so that other extensions
|
||||||
// may guess how long it will take until windows are gone :)
|
// may guess how long it will take until windows are gone :)
|
||||||
|
|||||||
Reference in New Issue
Block a user