not sure about this commit

This commit is contained in:
2026-04-03 08:21:07 -03:00
parent 51c0bdd2da
commit 908231f98a
5 changed files with 122 additions and 109 deletions

View File

@@ -194,6 +194,11 @@ class FramesPanel(Gtk.Box):
self._scroll_to(widget)
GLib.timeout_add(400, lambda: widget.remove_css_class("frame-highlight") or False)
def scroll_to_end(self):
"""Scroll to the last frame."""
if self._order and self._order[-1] in self._widgets:
self._scroll_to(self._widgets[self._order[-1]])
def clear(self):
"""Remove all items and reset state."""
self._selected = None