diff --git a/src/components/settings_modal/settings_modal.js b/src/components/settings_modal/settings_modal.js index caa7c48c..f0d49c91 100644 --- a/src/components/settings_modal/settings_modal.js +++ b/src/components/settings_modal/settings_modal.js @@ -30,6 +30,9 @@ const SettingsModal = { modalActivated () { return this.$store.state.interface.settingsModalState !== 'hidden' }, + modalOpenedOnce () { + return this.$store.state.interface.settingsModalLoaded + }, modalPeeked () { return this.$store.state.interface.settingsModalState === 'minimized' } diff --git a/src/components/settings_modal/settings_modal.vue b/src/components/settings_modal/settings_modal.vue index ded02f4a..6bc64ed0 100644 --- a/src/components/settings_modal/settings_modal.vue +++ b/src/components/settings_modal/settings_modal.vue @@ -43,7 +43,7 @@
- +
diff --git a/src/modules/interface.js b/src/modules/interface.js index e55b7290..eeebd65e 100644 --- a/src/modules/interface.js +++ b/src/modules/interface.js @@ -2,6 +2,7 @@ import { set, delete as del } from 'vue' const defaultState = { settingsModalState: 'hidden', + settingsModalLoaded: false, settings: { currentSaveStateNotice: null, noticeClearTimeout: null, @@ -54,6 +55,9 @@ const interfaceMod = { }, openSettingsModal (state) { state.settingsModalState = 'visible' + if (!state.settingsModalLoaded) { + state.settingsModalLoaded = true + } } }, actions: {