[apps] Shared: the cursor view own its size instead of the curve view

This commit is contained in:
Émilie Feral
2018-01-24 17:36:33 +01:00
committed by EmilieNumworks
parent 8ccb69f2e2
commit c9b86d0c86
10 changed files with 16 additions and 26 deletions

View File

@@ -27,7 +27,6 @@ SumGraphController::SumGraphController(Responder * parentResponder, FunctionGrap
void SumGraphController::viewWillAppear() {
m_graphRange->panToMakePointVisible(m_cursor->x(), m_cursor->y(), k_cursorTopMarginRatio, k_cursorRightMarginRatio, k_cursorBottomMarginRatio, k_cursorLeftMarginRatio);
m_graphView->setVerticalCursor(true);
m_graphView->setBannerView(&m_legendView);
m_graphView->setCursorView(&m_cursorView);
m_graphView->setOkView(nullptr);