[apps/graph] Replace magic numbers

This commit is contained in:
Ruben Dashyan
2019-02-28 17:30:26 +01:00
committed by Émilie Feral
parent 5ff19a2506
commit 633dfaf043
5 changed files with 5 additions and 5 deletions

View File

@@ -17,8 +17,7 @@ const char * IntersectionGraphController::title() {
}
void IntersectionGraphController::reloadBannerView() {
m_bannerView->setNumberOfSubviews(2);
reloadBannerViewForCursorOnFunction(m_cursor, m_record, functionStore(), CartesianFunction::Symbol());
CalculationGraphController::reloadBannerView();
constexpr size_t bufferSize = FunctionBannerDelegate::k_maxNumberOfCharacters+Poincare::PrintFloat::bufferSizeForFloatsWithPrecision(Constant::LargeNumberOfSignificantDigits);
char buffer[bufferSize];
const char * space = " ";