File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,6 @@ export function Display() {
33
33
currentChecked = { userDataState . optionData . fullScreen }
34
34
/>
35
35
</ NormalOption >
36
- < NormalOption key = "textSpeed" title = { t ( 'textSpeed.title' ) } >
37
- < OptionSlider
38
- initValue = { userDataState . optionData . textSpeed }
39
- uniqueID = { t ( 'textSpeed.title' ) }
40
- onChange = { ( event ) => {
41
- const newValue = event . target . value ;
42
- dispatch ( setOptionData ( { key : 'textSpeed' , value : Number ( newValue ) } ) ) ;
43
- setStorage ( ) ;
44
- } }
45
- />
46
- </ NormalOption >
47
36
< NormalOption key = "textSize" title = { t ( 'textSize.title' ) } >
48
37
< NormalButton
49
38
textList = { t ( 'textSize.options.small' , 'textSize.options.medium' , 'textSize.options.large' ) }
@@ -84,6 +73,17 @@ export function Display() {
84
73
currentChecked = { userDataState . optionData . textboxFont }
85
74
/>
86
75
</ NormalOption >
76
+ < NormalOption key = "textSpeed" title = { t ( 'textSpeed.title' ) } >
77
+ < OptionSlider
78
+ initValue = { userDataState . optionData . textSpeed }
79
+ uniqueID = { t ( 'textSpeed.title' ) }
80
+ onChange = { ( event ) => {
81
+ const newValue = event . target . value ;
82
+ dispatch ( setOptionData ( { key : 'textSpeed' , value : Number ( newValue ) } ) ) ;
83
+ setStorage ( ) ;
84
+ } }
85
+ />
86
+ </ NormalOption >
87
87
< NormalOption key = "textboxOpacity" title = { t ( 'textboxOpacity.title' ) } >
88
88
< OptionSlider
89
89
initValue = { userDataState . optionData . textboxOpacity }
You can’t perform that action at this time.
0 commit comments