@abi-software/scaffoldvuer 1.13.0-beta.0 → 1.13.0-beta.1
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/dist/scaffoldvuer.js +2 -2
- package/dist/scaffoldvuer.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ScaffoldVuer.vue +22 -24
package/package.json
CHANGED
|
@@ -1810,34 +1810,32 @@ export default {
|
|
|
1810
1810
|
this.$emit("scaffold-selected", event.identifiers);
|
|
1811
1811
|
}
|
|
1812
1812
|
} else if (event.eventType == 2) {
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
if (
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
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
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
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]) {
|