[skip ci] captions minimize fix

This commit is contained in:
Brahim Hadriche committed 2026-06-18 10:23:49 -04:00
1 parent f7c508f8db
commit 0c7bd4b3e0
5 files changed
+23

No files matched your search

@@ -937,6 +937,8 @@ function OnFullScreenChange() as void
LogDebug("fullscreen ->", fullscreen)
' the SponsorBlock notification rides with the player: hidden while minimized, shown when full.
m.sponsorblock.SetVisible(fullscreen)
' after a PiP restore the OS leaves captions blank while enableUI=false (resizing alone doesn't); suppress on minimize, release on restore to re-engage them.
m.top.suppressCaptions = not fullscreen
' minimized: no player UI at all. Reset any active transport (the bif/glyph clear; the underlying play/pause
' stays as-is) and hide chrome/spinner/pause now. Fires for the minimize button, external minimize, and a
' video that starts minimized.