improv(inputs): fix visual style of slider controls

This commit is contained in:
Michael Aaron Murphy 2024-02-21 16:18:57 +01:00 committed by Michael Murphy
parent 9c95e2a7c0
commit 3de1aa31fa
6 changed files with 226 additions and 195 deletions

View file

@ -38,7 +38,6 @@ pub enum Message {
PinchToZoom(bool),
PrimaryButtonSelected(cosmic::widget::segmented_button::Entity, bool),
SetAcceleration(bool, bool),
SetDoubleClickSpeed(u32, bool),
SetMouseSpeed(f64, bool),
SetNaturalScroll(bool, bool),
SetScrollFactor(f64, bool),
@ -143,10 +142,6 @@ impl Page {
x.acceleration.get_or_insert(AccelConfig::default()).speed = value;
}),
Message::SetDoubleClickSpeed(_value, _touchpad) => {
// TODO
}
Message::DisableWhileTyping(disabled, touchpad) => {
self.update_input(touchpad, |conf| {
conf.disable_while_typing = Some(disabled);