mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 02:02:11 +03:00
wayland/NotificationStack: Don't flicker at the beginning of the animation (#1963)
This commit is contained in:
parent
ce5418e0f6
commit
0a5fae4b33
@ -63,6 +63,10 @@ public class Gala.NotificationStack : Object {
|
||||
window.stick ();
|
||||
|
||||
if (animate) {
|
||||
// Don't flicker at the beginning of the animation
|
||||
notification.opacity = 0;
|
||||
notification.rotation_angle_x = 90;
|
||||
|
||||
var opacity_transition = new Clutter.PropertyTransition ("opacity");
|
||||
opacity_transition.set_from_value (0);
|
||||
opacity_transition.set_to_value (255);
|
||||
|
Loading…
Reference in New Issue
Block a user