not sure about this commit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user