Avoid jumping straight into chapter selection screen
This commit is contained in:
parent
41c93e4eba
commit
3dc5f6fec4
@ -101,7 +101,7 @@ void FileSelectionActivity::loop() {
|
|||||||
|
|
||||||
const bool skipPage = inputManager.getHeldTime() > SKIP_PAGE_MS;
|
const bool skipPage = inputManager.getHeldTime() > SKIP_PAGE_MS;
|
||||||
|
|
||||||
if (inputManager.wasPressed(InputManager::BTN_CONFIRM)) {
|
if (inputManager.wasReleased(InputManager::BTN_CONFIRM)) {
|
||||||
if (files.empty()) {
|
if (files.empty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user