fix(overlay): refresh current subtitle when enabling invisible layer

This commit is contained in:
2026-02-21 21:28:04 -08:00
parent 8b8a99dc79
commit 430c4e7120
3 changed files with 38 additions and 1 deletions

View File

@@ -2972,6 +2972,9 @@ function setVisibleOverlayVisible(visible: boolean): void {
function setInvisibleOverlayVisible(visible: boolean): void {
setInvisibleOverlayVisibleHandler(visible);
if (visible) {
subtitleProcessingController.refreshCurrentSubtitle();
}
}
function toggleVisibleOverlay(): void {