mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
[apps/shared/curve_view] Clarify coordinates' conventions
This commit is contained in:
committed by
EmilieNumworks
parent
07474caf6c
commit
585b77c38f
@@ -276,7 +276,7 @@ int InteractiveCurveViewController::closestCurveIndexVertically(bool goingUp, in
|
||||
}
|
||||
|
||||
float InteractiveCurveViewController::cursorBottomMarginRatio() {
|
||||
return (curveView()->cursorView()->minimalSizeForOptimalDisplay().height()/2+estimatedBannerHeight())/k_viewHeight;
|
||||
return (curveView()->cursorView()->minimalSizeForOptimalDisplay().height()/2+estimatedBannerHeight())/(k_viewHeight-1);
|
||||
}
|
||||
|
||||
float InteractiveCurveViewController::estimatedBannerHeight() const {
|
||||
|
||||
Reference in New Issue
Block a user