Fix meter metric visibility on narrow strips - #7781
After session load, the meter numerics were always visible, regardless of strip width. MixerStrip::set_stuff_from_route() and MixerStrip::set_width_enum() are called before Mixer UI is realized and calls show_all().
This commit is contained in:
parent
183d3fb493
commit
d9d96b181c
@ -942,6 +942,8 @@ GainMeter::GainMeter (Session* s, int fader_length)
|
|||||||
meter_hbox.pack_start (meter_alignment, false, false);
|
meter_hbox.pack_start (meter_alignment, false, false);
|
||||||
meter_hbox.pack_start (meter_ticks2_area, false, false);
|
meter_hbox.pack_start (meter_ticks2_area, false, false);
|
||||||
meter_hbox.pack_start (meter_metric_area, false, false);
|
meter_hbox.pack_start (meter_metric_area, false, false);
|
||||||
|
|
||||||
|
meter_metric_area.set_no_show_all ();
|
||||||
}
|
}
|
||||||
#undef PX_SCALE
|
#undef PX_SCALE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user