diff --git a/modules/notification/notification.py b/modules/notification/notification.py index c125f72..11c8549 100644 --- a/modules/notification/notification.py +++ b/modules/notification/notification.py @@ -24,7 +24,7 @@ NOTIFICATION_WIDTH = 360 NOTIFICATION_IMAGE_SIZE = 48 -def smooth_revealer_animation(revealer: SlideRevealer, duration: int = 600): +def smooth_revealer_animation(revealer: SlideRevealer, duration: int = 500): revealer.duration = duration diff --git a/widgets/customrevealer.py b/widgets/customrevealer.py index 9576137..e33d08f 100644 --- a/widgets/customrevealer.py +++ b/widgets/customrevealer.py @@ -87,7 +87,7 @@ class AnimationManager: class SlideRevealer(Gtk.Overlay): - def __init__(self, child: Gtk.Widget, direction="right", duration=300, size=None): + def __init__(self, child: Gtk.Widget, direction="right", duration=600, size=None): super().__init__() self.child = child