[apps/shared/function_banner_delegate] Factor reloadBannerViewForCursorOnFunction

This commit is contained in:
Ruben Dashyan
2019-07-08 17:34:22 +02:00
committed by Léa Saviot
parent c5ed1bebfe
commit 6d7e833a46
5 changed files with 6 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ void FunctionGraphController::reloadBannerView() {
return;
}
Ion::Storage::Record record = functionStore()->activeRecordAtIndex(indexFunctionSelectedByCursor());
reloadBannerViewForCursorOnFunction(m_cursor, record, functionStore(), functionStore()->symbol());
reloadBannerViewForCursorOnFunction(m_cursor, record, functionStore());
}
InteractiveCurveViewRangeDelegate::Range FunctionGraphController::computeYRange(InteractiveCurveViewRange * interactiveCurveViewRange) {