Add N1 word highlighting flow and mpv/overlay service updates

This commit is contained in:
2026-02-15 02:30:00 -08:00
parent a8682c33f2
commit 88099e2ffa
11 changed files with 132 additions and 72 deletions

View File

@@ -12,14 +12,15 @@ test("sendToVisibleOverlayRuntimeService restores visibility flag when opening h
let visibleOverlayVisible = false;
const ok = sendToVisibleOverlayRuntimeService({
mainWindow: {
isDestroyed: () => false,
webContents: {
send: (...args: unknown[]) => {
sent.push(args);
mainWindow: {
isDestroyed: () => false,
webContents: {
isLoading: () => false,
send: (...args: unknown[]) => {
sent.push(args);
},
},
},
} as unknown as Electron.BrowserWindow,
} as unknown as Electron.BrowserWindow,
visibleOverlayVisible,
setVisibleOverlayVisible: (visible) => {
visibleOverlayVisible = visible;