mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
[ion] Update the Event model
Change-Id: I41a53caeb7dd8a15e7934f49675f6a53be8fe7be
This commit is contained in:
committed by
Émilie Feral
parent
b220ed5dd8
commit
b87f06e3a2
@@ -38,12 +38,10 @@ void FunctionParameterController::didBecomeFirstResponder() {
|
||||
}
|
||||
|
||||
bool FunctionParameterController::handleEvent(Ion::Events::Event event) {
|
||||
switch (event) {
|
||||
case Ion::Events::Event::ENTER:
|
||||
return handleEnter();
|
||||
default:
|
||||
return false;
|
||||
if (event == Ion::Events::OK) {
|
||||
return handleEnter();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool FunctionParameterController::handleEnter() {
|
||||
|
||||
Reference in New Issue
Block a user