queue ::redisplay_track_views() in an idle handler right after ::idle_resize()

Both of these are currently needed: idle_resize() is required for
::set_height() to take effect on all affected tracks, and
::redisplay_track_views() is needed to reposition all other tracks as
necessary.
This commit is contained in:
Paul Davis 2022-04-05 18:07:57 -06:00
parent c1fb7bc05d
commit a287499f75
1 changed files with 1 additions and 0 deletions

View File

@ -5462,6 +5462,7 @@ Editor::add_to_idle_resize (TimeAxisView* view, int32_t h)
* (This is done to ensure that any pending resizes are processed before any pending redraws, so that widgets are not redrawn twice unnecessarily.)
*/
resize_idle_id = g_idle_add_full (G_PRIORITY_HIGH_IDLE + 10, _idle_resize, this, NULL);
queue_redisplay_track_views ();
_pending_resize_amount = 0;
}