mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[apps/sum_graph_controller] Do not move the cursor to NAN
This commit is contained in:
@@ -62,6 +62,9 @@ bool SumGraphController::handleEvent(Ion::Events::Event event) {
|
||||
}
|
||||
|
||||
bool SumGraphController::moveCursorHorizontallyToPosition(double x) {
|
||||
if (std::isnan(x)) {
|
||||
return true;
|
||||
}
|
||||
FunctionApp * myApp = FunctionApp::app();
|
||||
assert(!m_record.isNull());
|
||||
ExpiringPointer<Function> function = myApp->functionStore()->modelForRecord(m_record);
|
||||
|
||||
Reference in New Issue
Block a user