not sure about this commit
This commit is contained in:
@@ -173,6 +173,11 @@ class TranscriptPanel(Gtk.Box):
|
||||
self._selected.clear()
|
||||
self.emit("selection-changed")
|
||||
|
||||
def scroll_to_end(self):
|
||||
"""Scroll to the bottom (latest transcript)."""
|
||||
adj = self._scroll.get_vadjustment()
|
||||
GLib.idle_add(lambda: adj.set_value(adj.get_upper()) or False)
|
||||
|
||||
def highlight_nearest(self, timestamp: float) -> None:
|
||||
"""Scroll to and briefly highlight the transcript segment closest to *timestamp*."""
|
||||
if not self._order:
|
||||
|
||||
Reference in New Issue
Block a user