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