fix: update animation duration in smooth_revealer_animation and SlideRevealer
This commit is contained in:
1 parent
066d827f22
commit
e8171be6f2
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user