mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
[apps] Graph: In graphview, replace the type by a boolean to decide
wether to draw tangent
This commit is contained in:
committed by
EmilieNumworks
parent
cdfbc02499
commit
53b90034da
@@ -21,7 +21,7 @@ const char * TangentGraphController::title() {
|
||||
|
||||
void TangentGraphController::viewWillAppear() {
|
||||
m_graphRange->panToMakePointVisible(m_cursor->x(), m_cursor->y(), k_cursorTopMarginRatio, k_cursorRightMarginRatio, k_cursorBottomMarginRatio, k_cursorLeftMarginRatio);
|
||||
m_graphView->setType(GraphView::Type::Tangent);
|
||||
m_graphView->drawTangent(true);
|
||||
m_graphView->setOkView(nullptr);
|
||||
m_graphView->selectMainView(true);
|
||||
reloadBannerView();
|
||||
|
||||
Reference in New Issue
Block a user