From 86e379ec944a9b5bd8d1623d47d8624b40c161c2 Mon Sep 17 00:00:00 2001 From: alan-wu Date: Thu, 25 Jul 2024 16:10:57 +1200 Subject: [PATCH] Minor changes. --- src/components/LinesControls.vue | 2 +- src/components/ScaffoldTreeControls.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }