[sequence] Format comment

Change-Id: Iaff562cca9af3eb903d6cc8a529c730184235e4b
This commit is contained in:
Gabriel Ozouf
2020-10-16 16:21:36 +02:00
committed by Émilie Feral
parent 29f47124b1
commit 194cd0491c

View File

@@ -18,7 +18,9 @@ CurveViewRange::CurveViewRange(InteractiveCurveViewRangeDelegate * delegate) :
void CurveViewRange::normalize() {
Shared::InteractiveCurveViewRange::normalize();
/* The X axis is not supposed to go into the negatives, save for a small margin. However, after normalizing, it could be the case. We thus shift the X range rightward to the origin. */
/* The X axis is not supposed to go into the negatives, save for a small
* margin. However, after normalizing, it could be the case. We thus shift
* the X range rightward to the origin. */
float interestingXMin = m_delegate->interestingXMin();
float xRange = xMax() - xMin();
m_xRange.setMin(interestingXMin - k_displayLeftMarginRatio * xRange);