mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-18 17:02:12 +00:00
subtitles size changed in core
This commit is contained in:
parent
4a7d30ec95
commit
c1f8f6fe67
1 changed files with 11 additions and 2 deletions
|
|
@ -68,9 +68,18 @@ const useProfileSettingsInputs = () => {
|
|||
return `${profile.settings.subtitles_size}%`;
|
||||
},
|
||||
onSelect: (event) => {
|
||||
console.log(event);
|
||||
core.dispatch({
|
||||
action: 'Ctx',
|
||||
args: {
|
||||
action: 'UpdateSettings',
|
||||
args: {
|
||||
...profile.settings,
|
||||
subtitles_size: parseInt(event.value)
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}), [profile.settings.subtitles_size]);
|
||||
}), [profile.settings]);
|
||||
const subtitlesTextColorInput = React.useMemo(() => ({
|
||||
value: profile.settings.subtitles_text_color,
|
||||
onChange: (event) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue