Skip to content

Commit f92f6d4

Browse files
committed
Remove scaling effect for menus
1 parent 9e90a1c commit f92f6d4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/WindowManager.vala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,16 +1350,12 @@ namespace Gala {
13501350

13511351
mapping.add (actor);
13521352

1353-
actor.set_pivot_point (0.5f, 0.5f);
1354-
actor.set_pivot_point_z (0.2f);
1355-
actor.set_scale (0.9f, 0.9f);
13561353
actor.opacity = 0;
13571354

13581355
actor.save_easing_state ();
13591356
actor.set_easing_mode (Clutter.AnimationMode.EASE_OUT_QUAD);
13601357
actor.set_easing_duration (duration);
1361-
actor.set_scale (1.0f, 1.0f);
1362-
actor.opacity = 255U;
1358+
actor.opacity = 255;
13631359
actor.restore_easing_state ();
13641360

13651361
ulong map_handler_id = 0UL;

0 commit comments

Comments
 (0)