[apps/graph] Implement defaultCursorT for FunctionGraphController

This commit is contained in:
Émilie Feral
2019-09-02 15:28:54 +02:00
parent f017ac014d
commit a7285ba1ca
6 changed files with 19 additions and 8 deletions

View File

@@ -99,8 +99,8 @@ bool GraphController::moveCursorHorizontally(int direction) {
return true;
}
double GraphController::defaultCursorT() {
return std::fmax(0.0, std::round(Shared::FunctionGraphController::defaultCursorT()));
double GraphController::defaultCursorT(Ion::Storage::Record record) {
return std::fmax(0.0, std::round(Shared::FunctionGraphController::defaultCursorT(record)));
}
}