mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/curve_view] Fix typo
The labels would not float on the right of the display
This commit is contained in:
committed by
EmilieNumworks
parent
620ef3f570
commit
bd0b9f8a4a
@@ -374,7 +374,7 @@ void CurveView::drawLabelsAndGraduations(KDContext * ctx, KDRect rect, Axis axis
|
||||
position = positionLabel(horizontalCoordinate, labelPosition, textSize, RelativePosition::Before, RelativePosition::None);
|
||||
if (floatingLabels == FloatingPosition::Min) {
|
||||
position = KDPoint(k_labelMargin, position.y());
|
||||
} else if (floatingLabels == FloatingPosition::Min) {
|
||||
} else if (floatingLabels == FloatingPosition::Max) {
|
||||
position = KDPoint(Ion::Display::Width - textSize.width() - k_labelMargin, position.y());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user