Make Automation Precision slider less wide
This commit is contained in:
parent
8f02cdc1fa
commit
c1573f47c3
|
@ -83,7 +83,8 @@ fn top_bar(cx: &mut Context) {
|
|||
|
||||
HStack::new(cx, |cx| {
|
||||
ParamSlider::new(cx, Data::params, |params| ¶ms.automation_precision)
|
||||
.with_label("Automation Precision");
|
||||
.with_label("Automation Precision")
|
||||
.id("automation-precision");
|
||||
|
||||
SafeModeButton::new(cx, Data::safe_mode, "Safe mode").left(Pixels(10.0));
|
||||
|
||||
|
|
|
@ -17,3 +17,8 @@ param-button.safe-mode:checked {
|
|||
background-color: #fff280;
|
||||
transition: background-color 0.1 0;
|
||||
}
|
||||
|
||||
#automation-precision {
|
||||
/* Can't use width: auto here, but we'll try to roughly match the padding of the top bar buttons */
|
||||
width: 170px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue