...
 
Commits (2)
......@@ -12,7 +12,7 @@
.mobile-only.absolute-top-left.fit(v-if="$store.state.mosys.showSources")
.q-pa-lg.fit(style="overflow: scroll;")
grid-editor-sources.bg-frosted-glass.bg-white.shadow-4(style="min-height: 100%;")
grid-editor-sources.bg-frosted-glass.shadow-4(style="min-height: 100%; background-color: rgba(255, 255, 255, .7);")
// ----------------------------------------------------------------------------------------------------- cell editor
// template(v-if="!isMobile")
......
......@@ -8,9 +8,11 @@ const mosys = {
selectedCells: [],
editingCells: [],
scrollPositionCache: 0,
editMode: undefined
editMode: undefined,
newCell: undefined
},
getters: {
getNewCell: state => state.newCell,
getShowSources: state => state.showSources,
getShowAddCells: state => state.showAddCells,
getSelectedCells: state => state.selectedCells,
......@@ -20,6 +22,9 @@ const mosys = {
getEditMode: state => state.editMode
},
mutations: {
setNewCell (state, cell) {
state.newCell = cell
},
setEditMode (state, mode) {
state.editMode === mode ? state.editMode = undefined : state.editMode = mode
},
......