mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 06:22:45 -08:00
Update TASK-20.2 status to done
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user