Full view mode (#6636)

* wuip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update folder.vue

* wip

* Update size.ts

* wip

* wip

* Update index.vue

* wip
This commit is contained in:
syuilo 2020-08-09 15:51:02 +09:00 committed by GitHub
parent 13683780cd
commit 69d9aa71f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 853 additions and 334 deletions

View file

@ -106,6 +106,7 @@ export default () => new Vuex.Store({
i: null,
pendingApiRequestsCount: 0,
spinner: null,
fullView: false,
// Plugin
pluginContexts: new Map<string, AiScript>(),
@ -248,6 +249,10 @@ export default () => new Vuex.Store({
state.i[key] = value;
},
setFullView(state, v) {
state.fullView = v;
},
initPlugin(state, { plugin, aiscript }) {
state.pluginContexts.set(plugin.id, aiscript);
},