mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] In float parameter controllers, back has the same
consequence as 'validate' Change-Id: Id45f824c50af2f6e47be5abd9115d98971a1e073
This commit is contained in:
@@ -46,11 +46,6 @@ void FloatParameterController::willExitResponderChain(Responder * nextFirstRespo
|
||||
|
||||
bool FloatParameterController::handleEvent(Ion::Events::Event event) {
|
||||
if (event == Ion::Events::Back) {
|
||||
for (int i = 0; i < numberOfRows()-1; i++) {
|
||||
if (parameterAtIndex(i) != previousParameterAtIndex(i)) {
|
||||
setParameterAtIndex(i, previousParameterAtIndex(i));
|
||||
}
|
||||
}
|
||||
stackController()->pop();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user