Update HotkeySettings visibility based on window width

This commit is contained in:
kwaroran
2025-03-20 14:43:52 +09:00
parent f5f05bdf99
commit 2ce3e63f1d

View File

@@ -196,7 +196,7 @@
<PromptSettings onGoBack={() => { <PromptSettings onGoBack={() => {
$SettingsMenuIndex = 1 $SettingsMenuIndex = 1
}}/> }}/>
{:else if $SettingsMenuIndex === 15} {:else if $SettingsMenuIndex === 15 && window.innerWidth >= 768}
<HotkeySettings/> <HotkeySettings/>
{:else if $SettingsMenuIndex === 77} {:else if $SettingsMenuIndex === 77}
<ThanksPage/> <ThanksPage/>