Fix showing automation lane on touch

In the past ui-change event "track_height" was used to force
a redraw. This changed in c1fb7bc05d
This commit is contained in:
Robin Gareus 2022-04-26 00:25:26 +02:00
parent 1dafa5017e
commit b8ebdbc44a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 5 additions and 3 deletions

View File

@ -628,8 +628,10 @@ MidiTimeAxisView::set_layer_display (LayerDisplay d)
uint32_t h = current_height ();
update_scroomer_visbility (h, curr_layer_display);
/* If visibility changed, trigger a call to Editor::reset_controls_layout_width() */
_stripable->gui_changed ("track_height", (void *) 0);
/* If visibility changed, trigger a call to Editor::reset_controls_layout_width()
* by forcing a redraw via Editor::queue_redisplay_track_views ()
*/
_stripable->gui_changed ("visible_tracks", (void *) 0); /* EMIT SIGNAL */
}
void

View File

@ -211,7 +211,7 @@ void
StripableTimeAxisView::request_redraw ()
{
if (_stripable) {
_stripable->gui_changed ("track_height", (void *) 0); /* EMIT_SIGNAL */
_stripable->gui_changed ("visible_tracks", (void *) 0); /* EMIT_SIGNAL */
}
}