mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] Escaping the input loop on a 'home' event should be handled by
the code app instead of the console controller to ensure to escape the input loop even when the toolbox (or any modal) is displayed
This commit is contained in:
committed by
LeaNumworks
parent
5cfe20ad15
commit
da8286d3f7
@@ -133,7 +133,7 @@ void ConsoleController::didBecomeFirstResponder() {
|
||||
}
|
||||
|
||||
bool ConsoleController::handleEvent(Ion::Events::Event event) {
|
||||
if ((event == Ion::Events::Home || event == Ion::Events::Up) && inputRunLoopActive()) {
|
||||
if (event == Ion::Events::Up && inputRunLoopActive()) {
|
||||
askInputRunLoopTermination();
|
||||
// We need to return true here because we want to actually exit from the
|
||||
// input run loop, which requires ending a dispatchEvent cycle.
|
||||
|
||||
Reference in New Issue
Block a user