diff --git a/src/components/LinesControls.vue b/src/components/LinesControls.vue index ff17186..60546d4 100644 --- a/src/components/LinesControls.vue +++ b/src/components/LinesControls.vue @@ -216,7 +216,7 @@ export default { } } else { this.zincObject = undefined; - this.linewidth = 10; + this.width = 10; } }, modifyWidth: function () { diff --git a/src/components/ScaffoldTreeControls.vue b/src/components/ScaffoldTreeControls.vue index cfef05d..c5db0aa 100644 --- a/src/components/ScaffoldTreeControls.vue +++ b/src/components/ScaffoldTreeControls.vue @@ -120,7 +120,7 @@ export default { // '__r/' findOrCreateRegion: function (data, paths, prefix) { //check if root region has been set - if (this.rootID === undefined && this.module && this.module.scene) { + if (this.module && this.module.scene) { this.treeData[0].id = this.module.scene.getRootRegion().uuid; this.treeData[0].isRegion = true; }