wayland/NotificationStack: Don't flicker at the beginning of the animation (#1963)

This commit is contained in:
Leonhard 2024-06-30 15:11:14 +02:00 committed by GitHub
parent ce5418e0f6
commit 0a5fae4b33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);