🐛 (viewer) Fix preferences updating
This commit is contained in:
parent
019f274bf8
commit
072b7fe2c8
1 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ function launch(selector: string) {
|
|||
app.$forceUpdate();
|
||||
});
|
||||
item.addListener('preferences', (data) => {
|
||||
Object.assign(params.preferences, data);
|
||||
params.preferences = { ...params.preferences, ...data };
|
||||
app.$forceUpdate();
|
||||
});
|
||||
item.addListener('gamelog', (_) => item.emit('fetchState'));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue