[apps] Factorize scrolling speed for long repetition

Change-Id: I5fcfaf04e418942664641c4b1cd044cda7f5aebb
This commit is contained in:
Hugo Saint-Vignes
2020-06-09 17:42:49 +02:00
committed by Émilie Feral
parent 241a217f58
commit b60c67ff88
16 changed files with 23 additions and 24 deletions

View File

@@ -64,7 +64,7 @@ bool CalculationGraphController::handleEnter() {
return true;
}
bool CalculationGraphController::moveCursorHorizontally(int direction, bool fast) {
bool CalculationGraphController::moveCursorHorizontally(int direction, int scrollspeed) {
if (!m_isActive) {
return false;
}