chore(input): remove double click speed

This commit is contained in:
Michael Aaron Murphy 2024-02-19 16:00:09 +01:00 committed by Michael Murphy
parent 147f290bb3
commit 4854cc07cb
12 changed files with 0 additions and 47 deletions

View file

@ -65,8 +65,6 @@ fn touchpad() -> Section<crate::pages::Message> {
TOUCHPAD_ACCELERAION.as_str().into(),
super::ACCELERAION_DESC.as_str().into(),
super::DISABLE_WHILE_TYPING.as_str().into(),
super::DOUBLE_CLICK_SPEED.as_str().into(),
super::DOUBLE_CLICK_SPEED_DESC.as_str().into(),
])
.view::<Page>(|binder, _page, section| {
let input = binder.page::<super::Page>().expect("input page not found");
@ -109,13 +107,6 @@ fn touchpad() -> Section<crate::pages::Message> {
|enabled| Message::DisableWhileTyping(enabled, true),
),
)
.add(
settings::item::builder(&*super::DOUBLE_CLICK_SPEED)
.description(&*super::DOUBLE_CLICK_SPEED_DESC)
.control(widget::slider(0..=100, 0, |x| {
Message::SetDoubleClickSpeed(x, true)
})),
)
.apply(Element::from)
.map(crate::pages::Message::Input)
})