mirror of
https://github.com/esphome/esphome.git
synced 2025-01-18 20:10:55 +00:00
Display menu: Allow "left" key to exit current menu if not editing (#6460)
This commit is contained in:
parent
ec32501d40
commit
4fcb26d69d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user