mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 06:35:46 +01:00
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:
parent
465f39e5bf
commit
345337da35
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue