fix(web): keep video volume (#2897)

* save video volume in asset-interaction.store.ts

* move video-viewer-volume to preferences store
save in localstorage by using persisted
This commit is contained in:
faupau 2023-06-21 16:59:13 +02:00 committed by GitHub
parent 82b89aa20b
commit de7f66f983
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -35,3 +35,5 @@ export const mapSettings = persisted<MapSettings>('map-settings', {
dateAfter: '',
dateBefore: ''
});
export const videoViewerVolume = persisted<number>('video-viewer-volume', 1, {});