Return to some sane automation control point size

Default size was increased from 4 to 12 during 90c8726c6d,
apparently a copy/edit accident. This slightly increases point
size when increasing lane height.
This commit is contained in:
Robin Gareus 2024-11-23 20:53:24 +01:00
parent 465f39e5bf
commit 345337da35
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -245,11 +245,11 @@ AutomationLine::control_point_box_size ()
uiscale = std::max<float> (1.f, powf (uiscale, 1.71));
if (_height > TimeAxisView::preset_height (HeightLarger)) {
return rint (8.0 * uiscale);
return rint (10.0 * uiscale);
} else if (_height > (guint32) TimeAxisView::preset_height (HeightNormal)) {
return rint (6.0 * uiscale);
return rint (8.0 * uiscale);
}
return rint (12.0 * uiscale);
return rint (6.0 * uiscale);
}
void