Fix secondary subtitle style parity and MPV visibility restore lifecycle

This commit is contained in:
sudacode committed 2026-02-13 00:03:55 -08:00
1 parent f345547963
commit 978a859cc2
6 files changed
+129 -54

No files matched your search

+2 -1
View File
@@ -208,6 +208,8 @@ async function init(): Promise<void> {
await keyboardHandlers.setupMpvInputForwarding();
subtitleRenderer.applySubtitleStyle(await window.electronAPI.getSubtitleStyle());
if (ctx.platform.isInvisibleLayer) {
positioning.applyInvisibleStoredSubtitlePosition(
await window.electronAPI.getSubtitlePosition(),
@@ -222,7 +224,6 @@ async function init(): Promise<void> {
await window.electronAPI.getSubtitlePosition(),
"startup",
);
subtitleRenderer.applySubtitleStyle(await window.electronAPI.getSubtitleStyle());
measurementReporter.schedule();
}