[apps/shared/curve_view_range] Define and use x|yCenter accessors

This commit is contained in:
Ruben Dashyan
2019-06-13 16:01:01 +02:00
parent e99196b2ea
commit 8957cb9fea
5 changed files with 16 additions and 24 deletions

View File

@@ -118,7 +118,7 @@ InteractiveCurveViewRangeDelegate::Range FunctionGraphController::computeYRange(
}
double FunctionGraphController::defaultCursorT() {
return 0.0; //TODO LEA (interactiveCurveViewRange()->xMin()+interactiveCurveViewRange()->xMax())/2.0f;
return 0.0; //TODO LEA interactiveCurveViewRange()->xCenter();
}
FunctionStore * FunctionGraphController::functionStore() const {