mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
fix slow behaviour when changing visible track height in Editor::set_visible_track_count()
This commit is contained in:
parent
e9ab160ff3
commit
c61e1826f2
1 changed files with 1 additions and 0 deletions
|
|
@ -3574,6 +3574,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