improv(inputs): fix visual style of slider controls
This commit is contained in:
parent
9c95e2a7c0
commit
3de1aa31fa
6 changed files with 226 additions and 195 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue