1
0
Fork 0

Revert Gain GUI slider to the Centered style

This commit is contained in:
Robbert van der Helm 2022-03-21 23:46:39 +01:00
parent d84b456edb
commit fe3ed360a3

View file

@ -54,8 +54,7 @@ pub(crate) fn create(
// 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));
ParamSlider::new(cx, Data::params, |params| &params.gain)
.set_style(ParamSliderStyle::FromLeft);
ParamSlider::new(cx, Data::params, |params| &params.gain);
PeakMeter::new(
cx,