convert value to number on set (#390)
This commit is contained in:
parent
1d2e9484d8
commit
3f9cdab450
1 changed files with 3 additions and 1 deletions
|
@ -326,7 +326,9 @@ export const MpvSettings = () => {
|
|||
<NumberInput
|
||||
defaultValue={settings.mpvProperties.replayGainFallbackDB}
|
||||
width={75}
|
||||
onBlur={(e) => handleSetMpvProperty('replayGainFallbackDB', e)}
|
||||
onBlur={(e) =>
|
||||
handleSetMpvProperty('replayGainFallbackDB', Number(e.currentTarget.value))
|
||||
}
|
||||
/>
|
||||
),
|
||||
description: t('setting.replayGainFallback', {
|
||||
|
|
Reference in a new issue