[apps] Graph: In graphview, replace the type by a boolean to decide

wether to draw tangent
This commit is contained in:
Émilie Feral
2018-01-10 15:11:53 +01:00
committed by EmilieNumworks
parent cdfbc02499
commit 53b90034da
5 changed files with 8 additions and 14 deletions

View File

@@ -26,7 +26,7 @@ I18n::Message GraphController::emptyMessage() {
}
void GraphController::viewWillAppear() {
m_view.setType(GraphView::Type::Default);
m_view.drawTangent(false);
FunctionGraphController::viewWillAppear();
}