Add support for disabling mobile media-viewer's fullscreen auto-rotate (#4416)

This commit is contained in:
flubber1234
2024-01-16 04:00:58 +00:00
committed by GitHub
parent 403f7c54ef
commit 29677696fd
7 changed files with 16 additions and 2 deletions

View File

@@ -278,6 +278,12 @@ export const SettingsInterfacePanel: React.FC = () => {
checked={ui.enableChromecast ?? undefined}
onChange={(v) => saveUI({ enableChromecast: v })}
/>
<BooleanSetting
id="disable-mobile-media-auto-rotate"
headingID="config.ui.scene_player.options.disable_mobile_media_auto_rotate"
checked={ui.disableMobileMediaAutoRotateEnabled ?? undefined}
onChange={(v) => saveUI({ disableMobileMediaAutoRotateEnabled: v })}
/>
<BooleanSetting
id="show-scrubber"
headingID="config.ui.scene_player.options.show_scrubber"