@abi-software/scaffoldvuer 1.13.0-beta.0 → 1.13.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/scaffoldvuer",
3
- "version": "1.13.0-beta.0",
3
+ "version": "1.13.0-beta.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -53,7 +53,7 @@
53
53
  "unplugin-vue-components": "^0.26.0",
54
54
  "vue": "^3.4.21",
55
55
  "vue-router": "^4.2.5",
56
- "zincjs": "^1.16.0"
56
+ "zincjs": "^1.16.1"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@babel/eslint-parser": "^7.28.0",
@@ -1810,34 +1810,32 @@ export default {
1810
1810
  this.$emit("scaffold-selected", event.identifiers);
1811
1811
  }
1812
1812
  } else if (event.eventType == 2) {
1813
- if (this.selectedObjects.length === 0) {
1814
- this.hideRegionTooltip();
1815
- if (this.$refs.scaffoldTreeControls) {
1816
- if (names.length > 0) {
1817
- this.$refs.scaffoldTreeControls.updateHoverUI(zincObjects);
1818
- } else {
1819
- this.$refs.scaffoldTreeControls.removeHover(true);
1820
- }
1813
+ this.hideRegionTooltip();
1814
+ if (this.$refs.scaffoldTreeControls) {
1815
+ if (names.length > 0) {
1816
+ this.$refs.scaffoldTreeControls.updateHoverUI(zincObjects);
1817
+ } else {
1818
+ this.$refs.scaffoldTreeControls.removeHover(true);
1821
1819
  }
1822
- if (event.identifiers.length > 0 && event.identifiers[0]) {
1823
- if (event.identifiers[0].coords) {
1824
- this.tData.active = false;
1825
- if (this.viewingMode !== "Annotation" || !this.annotationSidebar) {
1826
- this.tData.visible = true;
1827
- }
1828
- this.tData.label = id;
1829
- this.tData.region = regionPath;
1830
- this.tData.x = event.identifiers[0].coords.x;
1831
- this.tData.y = event.identifiers[0].coords.y;
1832
- this.createEditTemporaryLines(event.identifiers);
1820
+ }
1821
+ if (event.identifiers.length > 0 && event.identifiers[0]) {
1822
+ if (event.identifiers[0].coords) {
1823
+ this.tData.active = false;
1824
+ if (this.viewingMode !== "Annotation" || !this.annotationSidebar) {
1825
+ this.tData.visible = true;
1833
1826
  }
1827
+ this.tData.label = id;
1828
+ this.tData.region = regionPath;
1829
+ this.tData.x = event.identifiers[0].coords.x;
1830
+ this.tData.y = event.identifiers[0].coords.y;
1831
+ this.createEditTemporaryLines(event.identifiers);
1834
1832
  }
1835
- /**
1836
- * Emit when an object is highlighted
1837
- * @arg {Object} "Identifier of selected objects"
1838
- */
1839
- this.$emit("scaffold-highlighted", event.identifiers);
1840
1833
  }
1834
+ /**
1835
+ * Emit when an object is highlighted
1836
+ * @arg {Object} "Identifier of selected objects"
1837
+ */
1838
+ this.$emit("scaffold-highlighted", event.identifiers);
1841
1839
  } else if (event.eventType == 3) {
1842
1840
  //MOVE
1843
1841
  if (event.identifiers.length > 0 && event.identifiers[0]) {