diff --git a/apps/sequence/graph/graph_controller.cpp b/apps/sequence/graph/graph_controller.cpp index 6056fbab0..0056975bc 100644 --- a/apps/sequence/graph/graph_controller.cpp +++ b/apps/sequence/graph/graph_controller.cpp @@ -100,7 +100,7 @@ bool GraphController::moveCursorHorizontally(int direction) { } double GraphController::defaultCursorAbscissa() { - return std::round(Shared::FunctionGraphController::defaultCursorAbscissa()); + return std::fmax(0.0, std::round(Shared::FunctionGraphController::defaultCursorAbscissa())); } }