mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
Merge branch 'master' into python_turtle
This commit is contained in:
@@ -23,6 +23,7 @@ void SandboxController::viewWillAppear() {
|
||||
}
|
||||
|
||||
bool SandboxController::handleEvent(Ion::Events::Event event) {
|
||||
// The sandbox handles or "absorbs" all keyboard events except Home and OnOff
|
||||
if (event == Ion::Events::Home || event == Ion::Events::OnOff) {
|
||||
stackViewController()->pop();
|
||||
return false;
|
||||
@@ -30,7 +31,7 @@ bool SandboxController::handleEvent(Ion::Events::Event event) {
|
||||
if (event == Ion::Events::OK || event == Ion::Events::Back) {
|
||||
stackViewController()->pop();
|
||||
}
|
||||
return true;
|
||||
return event.isKeyboardEvent();
|
||||
}
|
||||
|
||||
void SandboxController::redrawWindow() {
|
||||
|
||||
Reference in New Issue
Block a user