fix: blinking previewer

This commit is contained in:
Ramires Viana
2020-07-14 01:18:53 +00:00
parent 716396a726
commit 9a2ebbabe2
5 changed files with 153 additions and 79 deletions

View File

@@ -23,7 +23,8 @@ const state = {
show: null,
showShell: false,
showMessage: null,
showConfirm: null
showConfirm: null,
previewMode: false
}
export default new Vuex.Store({

View File

@@ -82,6 +82,9 @@ const mutations = {
resetClipboard: (state) => {
state.clipboard.key = ''
state.clipboard.items = []
},
setPreviewMode(state, value) {
state.previewMode = value
}
}