mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/graph] Faster cursor scrolling on device
This commit is quite dirty but works well
This commit is contained in:
@@ -82,9 +82,9 @@ void GraphController::viewWillAppear() {
|
||||
/* Since *m_selectedDotIndex is altered by initCursorParameters(),
|
||||
* the following must absolutely come at the end. */
|
||||
if (*m_selectedDotIndex >= 0) {
|
||||
m_view.setCursorView(static_cast<View *>(&m_crossCursorView));
|
||||
m_view.setCursorView(static_cast<Shared::CursorView *>(&m_crossCursorView));
|
||||
} else {
|
||||
m_view.setCursorView(static_cast<View *>(&m_roundCursorView));
|
||||
m_view.setCursorView(static_cast<Shared::CursorView *>(&m_roundCursorView));
|
||||
m_roundCursorView.setColor(Palette::DataColor[*m_selectedSeriesIndex]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user