a-frame-components
Advanced tools
Comparing version 1.0.27 to 1.0.28
@@ -58,3 +58,5 @@ import { AFRAME } from "../../painter/root"; | ||
this.children = this.el.getChildEntities(); | ||
this.el.addEventListener('item-clicked', function (evt) { | ||
this.positionChildren(containerGuiItem); | ||
var _a = this.createEntryPanel(), entity = _a.entity, bucket = _a.bucket, entryPanel = _a.entryPanel; | ||
bucket.addEventListener('item-clicked', function (evt) { | ||
var _a, _b; | ||
@@ -67,4 +69,2 @@ var detail = evt.detail; | ||
}); | ||
this.positionChildren(containerGuiItem); | ||
var _a = this.createEntryPanel(), entity = _a.entity, bucket = _a.bucket, entryPanel = _a.entryPanel; | ||
var _b = this.getInitialCursor(containerGuiItem), cursorX = _b.cursorX, cursorY = _b.cursorY; | ||
@@ -71,0 +71,0 @@ var _c = this.getChildPositions({ |
{ | ||
"name": "a-frame-components", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -63,3 +63,6 @@ import { AFRAME } from "../../painter/root"; | ||
this.children = this.el.getChildEntities(); | ||
this.el.addEventListener('item-clicked', (evt) => { | ||
this.positionChildren(containerGuiItem); | ||
let { entity, bucket, entryPanel } = this.createEntryPanel(); | ||
bucket.addEventListener('item-clicked', (evt) => { | ||
const { detail } = evt; | ||
@@ -71,5 +74,2 @@ if (detail?.data?.value !== me.data.value) { | ||
}); | ||
this.positionChildren(containerGuiItem); | ||
let { entity, bucket, entryPanel } = this.createEntryPanel(); | ||
let { cursorX, cursorY } = this.getInitialCursor(containerGuiItem); | ||
@@ -76,0 +76,0 @@ let { x, y, z } = this.getChildPositions({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1672206