[apps] Factorize InteractiveCurveViewController::moveCursorVertically

This commit is contained in:
Ruben Dashyan
2019-03-20 13:44:21 +01:00
committed by Émilie Feral
parent f6ceae3b8b
commit 94cf542ba3
3 changed files with 4 additions and 4 deletions

View File

@@ -132,7 +132,6 @@ bool FunctionGraphController::moveCursorVertically(int direction) {
}
selectFunctionWithCursor(nextActiveFunctionIndex);
m_cursor->moveTo(m_cursor->x(), yValue(nextActiveFunctionIndex, m_cursor->x(), context));
interactiveCurveViewRange()->panToMakePointVisible(m_cursor->x(), m_cursor->y(), cursorTopMarginRatio(), k_cursorRightMarginRatio, cursorBottomMarginRatio(), k_cursorLeftMarginRatio);
return true;
}