fix slow behaviour when changing visible track height in Editor::set_visible_track_count()
This commit is contained in:
parent
6b6d78c41f
commit
ea2e80f298
@ -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…
Reference in New Issue
Block a user