[apps/sequence] Make controllers inherit from StorageFunction controllers when required

This commit is contained in:
Émilie Feral
2019-02-28 14:51:22 +01:00
parent 184d2f0802
commit 2bc2506b60
29 changed files with 270 additions and 285 deletions

View File

@@ -1,5 +1,4 @@
#include "go_to_parameter_controller.h"
#include "../app.h"
#include <assert.h>
#include <cmath>
@@ -7,7 +6,7 @@ namespace Sequence {
bool GoToParameterController::setParameterAtIndex(int parameterIndex, double f) {
assert(parameterIndex == 0);
return Shared::FunctionGoToParameterController::setParameterAtIndex(parameterIndex, std::round(f));
return Shared::StorageFunctionGoToParameterController::setParameterAtIndex(parameterIndex, std::round(f));
}
}