mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[poincare/Coordinate2D] Rename members x1 and x2
This commit is contained in:
@@ -24,8 +24,8 @@ bool FunctionGoToParameterController::setParameterAtIndex(int parameterIndex, do
|
||||
assert(parameterIndex == 0);
|
||||
FunctionApp * myApp = FunctionApp::app();
|
||||
ExpiringPointer<Function> function = myApp->functionStore()->modelForRecord(m_record);
|
||||
Poincare::Coordinate2D<double> xy = function->evaluate2DAtParameter(f, myApp->localContext());
|
||||
m_cursor->moveTo(f, xy.x(), xy.y());
|
||||
Poincare::Coordinate2D<double> xy = function->evaluateXYAtParameter(f, myApp->localContext());
|
||||
m_cursor->moveTo(f, xy.x1(), xy.x2());
|
||||
m_graphRange->centerAxisAround(CurveViewRange::Axis::X, m_cursor->x());
|
||||
m_graphRange->centerAxisAround(CurveViewRange::Axis::Y, m_cursor->y());
|
||||
/* The range might have evolved to center around the cursor but we don't want
|
||||
|
||||
Reference in New Issue
Block a user