Actually save stream settings to local storage
After some refactoring, I lost the code that actually saved stream settings to local storage. This commit restores that functionality.
This commit is contained in:
parent
82a277b04c
commit
0bdb5b4721
1 changed files with 12 additions and 3 deletions
|
|
@ -95,13 +95,22 @@ export default {
|
|||
// Cache the stream settings to local storage for persistence
|
||||
// (the next 3 functions all relate to this)
|
||||
disableStream: function(newValue) {
|
||||
console.log(`disableStream updated to ${newValue} and saved in local storage`);
|
||||
console.log(
|
||||
`disableStream updated to ${newValue} and saved in local storage`
|
||||
);
|
||||
this.setLocalStorageObj("disableStream", newValue);
|
||||
},
|
||||
autoGpuPreview: function(newValue) {
|
||||
console.log(`GPU preview updated to ${newValue} and saved in local storage`);
|
||||
console.log(
|
||||
`GPU preview updated to ${newValue} and saved in local storage`
|
||||
);
|
||||
this.setLocalStorageObj("autoGpuPreview", newValue);
|
||||
},
|
||||
trackWindow: function(newValue) {
|
||||
console.log(`trackWindow updated to ${newValue} and saved in local storage`);
|
||||
console.log(
|
||||
`trackWindow updated to ${newValue} and saved in local storage`
|
||||
);
|
||||
this.setLocalStorageObj("trackWindow", newValue);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue