🔧 Ensure to restore original scale of window actor

This commit is contained in:
Simon Schneegans
2023-10-24 19:42:02 +02:00
parent 0e543414ad
commit 902aa65946
+4
View File
@@ -603,6 +603,10 @@ class Extension {
actor._bmwOverviewCloneContainer.scale_y = 1.0;
}
// Restore the original scale of the window actor.
actor.scale_x = 1.0;
actor.scale_y = 1.0;
// Remove the shader and mark it being re-usable for future animations.
actor.remove_effect(shader);
shader.returnToFactory();