Skip to content
Snippets Groups Projects
Commit 8ee3fc68 authored by Andrea Gottsponer's avatar Andrea Gottsponer
Browse files

- remove position point when primitive visible

parent d3ba6fb8
No related branches found
No related tags found
No related merge requests found
......@@ -600,6 +600,13 @@ export class PositionPoint extends BaseElementContainer<Models.PositionPoint, Ba
this.on("mousedown", this.selectInteraction.onPointerDown, this.selectInteraction);
this.on("mouseup", this.selectInteraction.onSelect, this.selectInteraction);
// Hide element when primitives exists
if (this.model.primitives && this.model.primitives.length > 0) {
// Elements
// -- Position point element
this._positionPointElement.alpha = 0;
}
// Show item
this.showItem();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment