mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
[Escher] The StackViewController pops when receiving ESC
Change-Id: I069ac2ea910f34513f607ec5d9a0a2483bbc20bc
This commit is contained in:
@@ -92,6 +92,10 @@ void StackViewController::handleKeyEvent(int key) {
|
||||
|
||||
|
||||
bool StackViewController::handleEvent(ion_event_t event) {
|
||||
if (event == ESC && m_numberOfChildren > 1) {
|
||||
pop();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user