Commit 0dba1de5 authored by christianrhansen's avatar christianrhansen

mobile: edit-mode (edit, move, resize or delete) now callable from store. set up in grid editor.

parent 4331773f
Pipeline #14106 passed with stage
in 40 seconds
Subproject commit e259669ff5b68d5986522f040bd78b0b56d9665b
Subproject commit e75fef71c2f5d1c3949e52ff2f7ef6892dd8c84a
Subproject commit 5ebb3a6b98b5b59bbd6512c37c61ed4540653763
Subproject commit 1d925b20c544039a283d58d7dcad7fcc2c34a6a2
......@@ -7,7 +7,8 @@ const mosys = {
showEditingCells: false,
selectedCells: [],
editingCells: [],
scrollPositionCache: 0
scrollPositionCache: 0,
editMode: undefined
},
getters: {
getShowSources: state => state.showSources,
......@@ -15,9 +16,13 @@ const mosys = {
getSelectedCells: state => state.selectedCells,
getEditingCells: state => state.editingCells,
getShowEditingCells: state => state.showEditingCells,
getScrollPositionCache: state => state.scrollPositionCache
getScrollPositionCache: state => state.scrollPositionCache,
getEditMode: state => state.editMode
},
mutations: {
setEditMode (state, val) {
state.editMode = val
},
setEditingCells (state, cells) {
state.editingCells = cells
state.showEditingCells = cells.length > 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment