🔧 Ensure to restore original scale of window actor
This commit is contained in:
@@ -603,6 +603,10 @@ class Extension {
|
|||||||
actor._bmwOverviewCloneContainer.scale_y = 1.0;
|
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.
|
// Remove the shader and mark it being re-usable for future animations.
|
||||||
actor.remove_effect(shader);
|
actor.remove_effect(shader);
|
||||||
shader.returnToFactory();
|
shader.returnToFactory();
|
||||||
|
|||||||
Reference in New Issue
Block a user