知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
fix(linux): searching the notes window's transcript scrolls to the line found
wquguru36f55b071d52
diff --git a/linux/cicada/app/notes_window.py b/linux/cicada/app/notes_window.pyindex bc3b5bc..e8760da 100644--- a/linux/cicada/app/notes_window.py+++ b/linux/cicada/app/notes_window.py@@ -511,9 +511,10 @@ class NotesWindow(Gtk.Window):# (it follows what's said), else where the reader was.if target is not None and scroll:def to_match():- ok, _x, y = target.translate_coordinates(box, 0, 0)- if ok:- adj.set_value(max(0, y - adj.get_page_size() / 3))+ # PyGObject gives (x, y), or None when they share no toplevel.+ pos = target.translate_coordinates(box, 0, 0)+ if pos is not None:+ adj.set_value(max(0, pos[1] - adj.get_page_size() / 3))self._after_layout = to_matchelif not terms and self.app.listen.listening:self._after_layout = lambda: adj.set_value(adj.get_upper())