[apps/graph/graph] GraphController accesses the app directly

This commit is contained in:
Ruben Dashyan
2019-07-18 17:31:53 +02:00
committed by EmilieNumworks
parent 14835d0454
commit 2c9489966d
4 changed files with 12 additions and 12 deletions

View File

@@ -73,12 +73,12 @@ void GraphController::reloadBannerView() {
return;
}
Ion::Storage::Record record = functionStore()->activeRecordAtIndex(indexFunctionSelectedByCursor());
reloadDerivativeInBannerViewForCursorOnFunction(m_cursor, record, app());
reloadDerivativeInBannerViewForCursorOnFunction(m_cursor, record);
}
bool GraphController::moveCursorHorizontally(int direction) {
Ion::Storage::Record record = functionStore()->activeRecordAtIndex(indexFunctionSelectedByCursor());
return privateMoveCursorHorizontally(m_cursor, direction, m_graphRange, k_numberOfCursorStepsInGradUnit, record, app());
return privateMoveCursorHorizontally(m_cursor, direction, m_graphRange, k_numberOfCursorStepsInGradUnit, record);
}
InteractiveCurveViewRange * GraphController::interactiveCurveViewRange() {