Update gain_gui_vizia for cosmic-text changes
This commit is contained in:
parent
0b5811e8c7
commit
00d840794d
|
@ -49,9 +49,7 @@ pub(crate) fn create(
|
||||||
.child_top(Stretch(1.0))
|
.child_top(Stretch(1.0))
|
||||||
.child_bottom(Pixels(0.0));
|
.child_bottom(Pixels(0.0));
|
||||||
|
|
||||||
// NOTE: VIZIA adds 1 pixel of additional height to these labels, so we'll need to
|
Label::new(cx, "Gain");
|
||||||
// compensate for that
|
|
||||||
Label::new(cx, "Gain").bottom(Pixels(-1.0));
|
|
||||||
ParamSlider::new(cx, Data::params, |params| ¶ms.gain);
|
ParamSlider::new(cx, Data::params, |params| ¶ms.gain);
|
||||||
|
|
||||||
PeakMeter::new(
|
PeakMeter::new(
|
||||||
|
|
Loading…
Reference in a new issue