From 0a5fae4b3323182f49d8551d17bead2d2ec31b63 Mon Sep 17 00:00:00 2001 From: Leonhard <106322251+leolost2605@users.noreply.github.com> Date: Sun, 30 Jun 2024 15:11:14 +0200 Subject: [PATCH] wayland/NotificationStack: Don't flicker at the beginning of the animation (#1963) --- src/NotificationStack.vala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/NotificationStack.vala b/src/NotificationStack.vala index 39ff45d2..5cdfb10a 100644 --- a/src/NotificationStack.vala +++ b/src/NotificationStack.vala @@ -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);