mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
convert value to number on set (#390)
This commit is contained in:
@@ -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', {
|
||||||
|
|||||||
Reference in New Issue
Block a user