diff --git a/src/shared/widgets/customrevealer.py b/src/shared/widgets/customrevealer.py index 8d06d1b..07d0174 100644 --- a/src/shared/widgets/customrevealer.py +++ b/src/shared/widgets/customrevealer.py @@ -156,6 +156,9 @@ class SlideRevealer(Gtk.Overlay): def set_slide_direction(self, direction): self.direction = direction + def stop_animation(self): + self.animator.stop() + def destroy(self): self.stop_animation() super().destroy()