mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/statistics/store] Fix typo
This commit is contained in:
committed by
LeaNumworks
parent
d4784146d1
commit
38a4a44633
@@ -68,8 +68,8 @@ bool Store::scrollToSelectedBarIndex(int series, int index) {
|
||||
float range = windowRange/(1+k_displayLeftMarginRatio+k_displayRightMarginRatio);
|
||||
if (xMin() + k_displayLeftMarginRatio*range > startSelectedBar) {
|
||||
m_xRange.setMin(startSelectedBar - k_displayLeftMarginRatio*range);
|
||||
// Call MemoizedCurveViewRange::protectedSetXMin to update the grid unit
|
||||
MemoizedCurveViewRange::protectedSetXMin(xMin() + windowRange);
|
||||
// Call MemoizedCurveViewRange::protectedSetXMax to update the grid unit
|
||||
MemoizedCurveViewRange::protectedSetXMax(xMin() + windowRange);
|
||||
return true;
|
||||
}
|
||||
float endSelectedBar = endOfBarAtIndex(series, index);
|
||||
|
||||
Reference in New Issue
Block a user