1
0
Fork 0

Update gain_gui_vizia for cosmic-text changes

This commit is contained in:
Robbert van der Helm 2023-01-12 18:53:21 +01:00
parent 0b5811e8c7
commit 00d840794d

View file

@ -49,9 +49,7 @@ pub(crate) fn create(
.child_top(Stretch(1.0))
.child_bottom(Pixels(0.0));
// NOTE: VIZIA adds 1 pixel of additional height to these labels, so we'll need to
// compensate for that
Label::new(cx, "Gain").bottom(Pixels(-1.0));
Label::new(cx, "Gain");
ParamSlider::new(cx, Data::params, |params| &params.gain);
PeakMeter::new(