mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] Clean FunctionGraphController::initRangeParameters()
The method is exactly called once, by InteractiveCurveViewController::viewWillAppear, which also calls initCursorParameters afterwards, which in turn calls selectFunctionWithCursor. Hence the removed lines were redundant.
This commit is contained in:
committed by
Émilie Feral
parent
e7add02912
commit
51bd3312f5
@@ -110,8 +110,6 @@ InteractiveCurveViewRangeDelegate::Range FunctionGraphController::computeYRange(
|
||||
|
||||
void FunctionGraphController::initRangeParameters() {
|
||||
interactiveCurveViewRange()->setDefault();
|
||||
initCursorParameters();
|
||||
selectFunctionWithCursor(0);
|
||||
}
|
||||
|
||||
double FunctionGraphController::defaultCursorAbscissa() {
|
||||
|
||||
Reference in New Issue
Block a user