mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
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
|
<NumberInput
|
||||||
defaultValue={settings.mpvProperties.replayGainFallbackDB}
|
defaultValue={settings.mpvProperties.replayGainFallbackDB}
|
||||||
width={75}
|
width={75}
|
||||||
onBlur={(e) => handleSetMpvProperty('replayGainFallbackDB', e)}
|
onBlur={(e) =>
|
||||||
|
handleSetMpvProperty('replayGainFallbackDB', Number(e.currentTarget.value))
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
description: t('setting.replayGainFallback', {
|
description: t('setting.replayGainFallback', {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue