fix: update animation duration in smooth_revealer_animation and SlideRevealer

This commit is contained in:
tr1x_em authored and tr1x_em (aider) committed 2025-08-02 21:30:12 +05:30
1 parent 066d827f22
commit e8171be6f2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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