mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
fix slow behaviour when changing visible track height in Editor::set_visible_track_count()
This commit is contained in:
parent
6b6d78c41f
commit
ea2e80f298
1 changed files with 1 additions and 0 deletions
|
|
@ -3610,6 +3610,7 @@ Editor::set_visible_track_count (int32_t n)
|
|||
|
||||
int h;
|
||||
string str;
|
||||
DisplaySuspender ds;
|
||||
|
||||
if (_visible_track_count > 0) {
|
||||
h = trackviews_height() / _visible_track_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue