Display menu: Allow "left" key to exit current menu if not editing (#6460)

This commit is contained in:
Jesse Hills 2024-04-03 07:33:18 +13:00 committed by GitHub
parent ec32501d40
commit 4fcb26d69d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,6 +60,8 @@ void DisplayMenuComponent::left() {
if (this->editing_) {
this->finish_editing_();
changed = true;
} else {
changed = this->leave_menu_();
}
break;
case MENU_MODE_JOYSTICK: