Allow F2/F3 during DOWNLOADING_ASSETS state

F2 (scroller) and F3 (settings) now work while audio downloads are in
progress. Only blocked during early prerequisites: no wifi, no email,
no license key.
This commit is contained in:
NeilClack
2026-07-11 15:27:01 -05:00
parent 363e6f81f6
commit 336f407499
+2 -2
View File
@@ -501,14 +501,14 @@ func (app *Application) renderFrame() {
func (app *Application) initKeybinds() { func (app *Application) initKeybinds() {
keybinds.Register(sdl.K_F3, sdl.KMOD_NONE, func() { keybinds.Register(sdl.K_F3, sdl.KMOD_NONE, func() {
if app.state != READY { if app.state != READY && app.state != DOWNLOADING_ASSETS {
return return
} }
app.PageRouter.NavigateTo(page.SETTINGS) app.PageRouter.NavigateTo(page.SETTINGS)
}) })
keybinds.Register(sdl.K_F2, sdl.KMOD_NONE, func() { keybinds.Register(sdl.K_F2, sdl.KMOD_NONE, func() {
if app.state != READY { if app.state != READY && app.state != DOWNLOADING_ASSETS {
return return
} }
app.PageRouter.NavigateTo(page.SCROLLER) app.PageRouter.NavigateTo(page.SCROLLER)