Commit 3b70e2c 1 parent 2f7411a commit 3b70e2c Copy full SHA for 3b70e2c
File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ mod mouse;
20
20
mod touchpad;
21
21
22
22
crate :: cache_dynamic_lazy! {
23
- static ACCELERAION_DESC : String = fl!( "acceleration-desc" ) ;
23
+ static ACCELERATION_DESC : String = fl!( "acceleration-desc" ) ;
24
24
static DISABLE_WHILE_TYPING : String = fl!( "disable-while-typing" ) ;
25
25
static PRIMARY_BUTTON : String = fl!( "primary-button" ) ;
26
26
static SCROLLING_NATURAL_DESC : String = fl!( "scrolling" , "natural-desc" ) ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ fn mouse() -> Section<crate::pages::Message> {
48
48
super :: PRIMARY_BUTTON . as_str( ) . into( ) ,
49
49
MOUSE_SPEED . as_str( ) . into( ) ,
50
50
MOUSE_ACCELERATION . as_str( ) . into( ) ,
51
- super :: ACCELERAION_DESC . as_str( ) . into( ) ,
51
+ super :: ACCELERATION_DESC . as_str( ) . into( ) ,
52
52
] )
53
53
. view :: < Page > ( |binder, _page, section| {
54
54
let input = binder. page :: < super :: Page > ( ) . expect ( "input page not found" ) ;
@@ -75,7 +75,7 @@ fn mouse() -> Section<crate::pages::Message> {
75
75
)
76
76
. add (
77
77
settings:: item:: builder ( & * MOUSE_ACCELERATION )
78
- . description ( & * super :: ACCELERAION_DESC )
78
+ . description ( & * super :: ACCELERATION_DESC )
79
79
. toggler (
80
80
input
81
81
. input_default
Original file line number Diff line number Diff line change 1
- use cosmic:: iced:: Length ;
2
1
use cosmic:: widget:: { self , settings, text} ;
3
2
use cosmic:: { Apply , Element } ;
4
3
use cosmic_comp_config:: input:: { AccelProfile , ScrollMethod } ;
@@ -63,7 +62,7 @@ fn touchpad() -> Section<crate::pages::Message> {
63
62
super :: PRIMARY_BUTTON . as_str( ) . into( ) ,
64
63
TOUCHPAD_SPEED . as_str( ) . into( ) ,
65
64
TOUCHPAD_ACCELERAION . as_str( ) . into( ) ,
66
- super :: ACCELERAION_DESC . as_str( ) . into( ) ,
65
+ super :: ACCELERATION_DESC . as_str( ) . into( ) ,
67
66
super :: DISABLE_WHILE_TYPING . as_str( ) . into( ) ,
68
67
] )
69
68
. view :: < Page > ( |binder, _page, section| {
@@ -91,7 +90,7 @@ fn touchpad() -> Section<crate::pages::Message> {
91
90
)
92
91
. add (
93
92
settings:: item:: builder ( & * TOUCHPAD_ACCELERAION )
94
- . description ( & * super :: ACCELERAION_DESC )
93
+ . description ( & * super :: ACCELERATION_DESC )
95
94
. toggler (
96
95
input
97
96
. input_touchpad
You can’t perform that action at this time.
0 commit comments