Update TASK-20.2 status to done

This commit is contained in:
2026-02-12 02:49:54 -08:00
parent dfb54630df
commit f345547963
11 changed files with 427 additions and 7 deletions

View File

@@ -45,6 +45,7 @@ import type {
RuntimeOptionState,
RuntimeOptionValue,
MpvSubtitleRenderMetrics,
OverlayContentMeasurement,
} from "./types";
const overlayLayerArg = process.argv.find((arg) =>
@@ -267,6 +268,9 @@ const electronAPI: ElectronAPI = {
notifyOverlayModalClosed: (modal: "runtime-options" | "subsync") => {
ipcRenderer.send("overlay:modal-closed", modal);
},
reportOverlayContentBounds: (measurement: OverlayContentMeasurement) => {
ipcRenderer.send("overlay-content-bounds:report", measurement);
},
};
contextBridge.exposeInMainWorld("electronAPI", electronAPI);