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:
parent
1dafa5017e
commit
b8ebdbc44a
@ -628,8 +628,10 @@ MidiTimeAxisView::set_layer_display (LayerDisplay d)
|
|||||||
uint32_t h = current_height ();
|
uint32_t h = current_height ();
|
||||||
update_scroomer_visbility (h, curr_layer_display);
|
update_scroomer_visbility (h, curr_layer_display);
|
||||||
|
|
||||||
/* If visibility changed, trigger a call to Editor::reset_controls_layout_width() */
|
/* If visibility changed, trigger a call to Editor::reset_controls_layout_width()
|
||||||
_stripable->gui_changed ("track_height", (void *) 0);
|
* by forcing a redraw via Editor::queue_redisplay_track_views ()
|
||||||
|
*/
|
||||||
|
_stripable->gui_changed ("visible_tracks", (void *) 0); /* EMIT SIGNAL */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -211,7 +211,7 @@ void
|
|||||||
StripableTimeAxisView::request_redraw ()
|
StripableTimeAxisView::request_redraw ()
|
||||||
{
|
{
|
||||||
if (_stripable) {
|
if (_stripable) {
|
||||||
_stripable->gui_changed ("track_height", (void *) 0); /* EMIT_SIGNAL */
|
_stripable->gui_changed ("visible_tracks", (void *) 0); /* EMIT_SIGNAL */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user