Skip to content
Snippets Groups Projects
Commit 204353bc authored by Adam Procter's avatar Adam Procter
Browse files

more tests for coloring node

parent 947a7ffb
No related branches found
No related tags found
No related merge requests found
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
<VSwatches <VSwatches
v-model="nodes.node_color" v-model="nodes.node_color"
@input="chooseColor(nodes.node_id, nodes.node_color)"
:swatches="swatches" :swatches="swatches"
:shapes="shapes" :shapes="shapes"
@input="chooseColor(nodes.node_id, nodes.node_color)"
show-border show-border
show-fallback show-fallback
fallback-input-type="color" fallback-input-type="color"
...@@ -130,9 +130,6 @@ export default { ...@@ -130,9 +130,6 @@ export default {
}, },
chooseColor(nodeid, color) { chooseColor(nodeid, color) {
// var nodeid = e.target.id
// var color = e.target.value
this.$store.dispatch('colorNode', { nodeid, color }) this.$store.dispatch('colorNode', { nodeid, color })
setTimeout(this.loadData, 500) setTimeout(this.loadData, 500)
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment