feat(subtitle-sidebar): add sidebar config surface (#28)

This commit is contained in:
sudacode authored and GitHub committed 2026-03-21 23:37:42 -07:00
1 parent eddf6f0456
commit 3a01cffc6b
66 files changed
+5241 -426

No files matched your search

+2
View File
@@ -169,6 +169,8 @@ const electronAPI: ElectronAPI = {
ipcRenderer.invoke(IPC_CHANNELS.request.getCurrentSubtitleRaw),
getCurrentSubtitleAss: (): Promise<string> =>
ipcRenderer.invoke(IPC_CHANNELS.request.getCurrentSubtitleAss),
getSubtitleSidebarSnapshot: () =>
ipcRenderer.invoke(IPC_CHANNELS.request.getSubtitleSidebarSnapshot),
getPlaybackPaused: (): Promise<boolean | null> =>
ipcRenderer.invoke(IPC_CHANNELS.request.getPlaybackPaused),
onSubtitleAss: (callback: (assText: string) => void) => {