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() {
3333 currentChecked = { userDataState . optionData . fullScreen }
3434 />
3535 </ 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 >
4736 < NormalOption key = "textSize" title = { t ( 'textSize.title' ) } >
4837 < NormalButton
4938 textList = { t ( 'textSize.options.small' , 'textSize.options.medium' , 'textSize.options.large' ) }
@@ -84,6 +73,17 @@ export function Display() {
8473 currentChecked = { userDataState . optionData . textboxFont }
8574 />
8675 </ 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 >
8787 < NormalOption key = "textboxOpacity" title = { t ( 'textboxOpacity.title' ) } >
8888 < OptionSlider
8989 initValue = { userDataState . optionData . textboxOpacity }
You can’t perform that action at this time.
0 commit comments