[apps/sequence] CurveViewRange: update the grid unit when change the

range
This commit is contained in:
Émilie Feral
2019-09-06 16:16:26 +02:00
parent 709479552a
commit 3998877740

View File

@@ -11,7 +11,7 @@ namespace Sequence {
CurveViewRange::CurveViewRange(InteractiveCurveViewRangeDelegate * delegate) :
InteractiveCurveViewRange(delegate)
{
m_xRange.setMin(-k_displayLeftMarginRatio * xMax(), k_lowerMaxFloat, k_upperMaxFloat);
MemoizedCurveViewRange::protectedSetXMin(-k_displayLeftMarginRatio * xMax(), k_lowerMaxFloat, k_upperMaxFloat);
}
void CurveViewRange::roundAbscissa() {