mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-22 05:07:07 +01:00
hack to hide some geometric oddity in pianorolls
the automation group rectangle, when set to use COORD_MAX as the rightmost x-coordinate ends up sloping. use a very large number instead. this ought to get fixed when it can be understood
This commit is contained in:
parent
a8914cbb61
commit
1b9a69c90f
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ PianorollMidiView::set_height (double h)
|
|||
midi_context().set_size (midi_context().width(), note_area_height);
|
||||
|
||||
automation_group->set_position (ArdourCanvas::Duple (0., note_area_height));
|
||||
automation_group->set (ArdourCanvas::Rect (0., 0., ArdourCanvas::COORD_MAX, automation_height));
|
||||
automation_group->set (ArdourCanvas::Rect (0., 0., 100000000000000., automation_height));
|
||||
|
||||
for (auto & ads : automation_map) {
|
||||
ads.second.set_height (automation_height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue