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:
parent
c1fb7bc05d
commit
a287499f75
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue