mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[sequence] Format comment
Change-Id: Iaff562cca9af3eb903d6cc8a529c730184235e4b
This commit is contained in:
committed by
Émilie Feral
parent
29f47124b1
commit
194cd0491c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user