Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
Applications
Systems Frontend
Commits
0e93c877
Commit
0e93c877
authored
Mar 23, 2020
by
anton
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
157d96f1
6d6db0f7
Pipeline
#50493
passed with stage
in 2 minutes and 34 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
src/components/mosys
src/components/mosys
+1
-1
src/components/shared
src/components/shared
+1
-1
src/store/modules/mosys.js
src/store/modules/mosys.js
+9
-3
No files found.
mosys
@
ea50bbf7
Compare
8e702a4a
...
ea50bbf7
Subproject commit
8e702a4ab0be9c3b85f3605457d3ae20edc4f61f
Subproject commit
ea50bbf7e69486227ae1831970f46af93c5e8980
shared
@
ed8d3a92
Compare
b786174e
...
ed8d3a92
Subproject commit
b786174eeebd4fe5a13385708ee977e412df3e06
Subproject commit
ed8d3a92a8db79d934ecaa2e6c34bcb056b2d419
src/store/modules/mosys.js
View file @
0e93c877
...
...
@@ -5,7 +5,7 @@ const mosys = {
state
:
{
sourcesTabName
:
''
,
showSources
:
false
,
showAddCells
:
false
,
//
showAddCells: false,
showEditingCells
:
false
,
selectedCells
:
[],
editingCells
:
[],
...
...
@@ -15,13 +15,15 @@ const mosys = {
currentTimeline
:
undefined
,
sourceCellInput
:
undefined
,
editGrid
:
false
,
dimensions
:
{}
},
getters
:
{
getEditGrid
:
state
=>
state
.
editGrid
,
getSourceCellInput
:
state
=>
state
.
sourceCellInput
,
getNewCell
:
state
=>
state
.
newCell
,
getShowSources
:
state
=>
state
.
showSources
,
getShowAddCells
:
state
=>
state
.
showAddCells
,
//
getShowAddCells: state => state.showAddCells,
getSelectedCells
:
state
=>
state
.
selectedCells
,
getEditingCells
:
state
=>
state
.
editingCells
,
getShowEditingCells
:
state
=>
state
.
showEditingCells
,
...
...
@@ -30,6 +32,9 @@ const mosys = {
getCurrentTimeline
:
state
=>
state
.
currentTimeline
},
mutations
:
{
toggleGridEdit
(
state
)
{
state
.
editGrid
=
!
state
.
editGrid
},
setSourceCellInput
(
state
,
value
)
{
state
.
sourceCellInput
=
value
},
...
...
@@ -71,6 +76,7 @@ const mosys = {
hideSources
:
(
state
)
=>
{
state
.
showSources
=
false
},
/*
showAddCells: (state) => {
state.showAddCells = true
if (state.showAddCells) {
...
...
@@ -85,7 +91,7 @@ const mosys = {
},
hideAddCells: (state) => {
state.showAddCells = false
},
},
*/
showEditingCells
:
(
state
)
=>
{
state
.
showEditingCells
=
true
if
(
state
.
showEditingCells
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment