WindowManager: dialogs fall down (#1297)

* WindowManager: dialogs fall down

* Update gala.appdata.xml.in

Co-authored-by: José Expósito <jose.exposito89@gmail.com>
This commit is contained in:
Danielle Foré 2021-11-06 18:36:25 -07:00 committed by GitHub
parent 2af8f34863
commit 1e3a7c171a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -17,6 +17,7 @@
<li>Support for high-resolution scroll events</li>
<li>Redesigned Alt + Tab switcher</li>
<li>Dim the parents of modal dialogs</li>
<li>Dialogs fall down on parents instead of shooting out</li>
<li>Updated translations</li>
</ul>
</description>

View File

@ -1367,12 +1367,12 @@ namespace Gala {
mapping.add (actor);
actor.set_pivot_point (0.5f, 0.5f);
actor.set_scale (0.9f, 0.9f);
actor.set_scale (1.05f, 1.05f);
actor.opacity = 0;
actor.save_easing_state ();
actor.set_easing_mode (Clutter.AnimationMode.EASE_OUT_QUAD);
actor.set_easing_duration (150);
actor.set_easing_duration (200);
actor.set_scale (1.0f, 1.0f);
actor.opacity = 255U;
actor.restore_easing_state ();
@ -1454,8 +1454,8 @@ namespace Gala {
actor.set_pivot_point (0.5f, 0.5f);
actor.save_easing_state ();
actor.set_easing_mode (Clutter.AnimationMode.EASE_OUT_QUAD);
actor.set_easing_duration (100);
actor.set_scale (0.9f, 0.9f);
actor.set_easing_duration (150);
actor.set_scale (1.05f, 1.05f);
actor.opacity = 0U;
actor.restore_easing_state ();