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:
@@ -501,14 +501,14 @@ func (app *Application) renderFrame() {
|
||||
|
||||
func (app *Application) initKeybinds() {
|
||||
keybinds.Register(sdl.K_F3, sdl.KMOD_NONE, func() {
|
||||
if app.state != READY {
|
||||
if app.state != READY && app.state != DOWNLOADING_ASSETS {
|
||||
return
|
||||
}
|
||||
app.PageRouter.NavigateTo(page.SETTINGS)
|
||||
})
|
||||
|
||||
keybinds.Register(sdl.K_F2, sdl.KMOD_NONE, func() {
|
||||
if app.state != READY {
|
||||
if app.state != READY && app.state != DOWNLOADING_ASSETS {
|
||||
return
|
||||
}
|
||||
app.PageRouter.NavigateTo(page.SCROLLER)
|
||||
|
||||
Reference in New Issue
Block a user