Renamed vuex settings to globalSettings

This commit is contained in:
Joel Collins 2019-05-08 17:56:11 +01:00
parent 56e43ae77f
commit e1d562fef4
5 changed files with 13 additions and 13 deletions

View file

@ -27,7 +27,7 @@ Vue.mixin({
.finally(function() {
// Reenable the GPU preview, if it was active before the modal
console.log("Re-enabling GPU preview")
if (context.$store.state.settings.autoGpuPreview) {
if (context.$store.state.globalSettings.autoGpuPreview) {
console.log("Re-enabling preview")
context.$root.$emit('globalTogglePreview', true)
}