@vectojs/core 1.9.1 → 1.9.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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/tree/DOMPortalEntity.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3407,7 +3407,7 @@ var DOMPortalEntity = (_class7 = class extends _chunkGKLTTGBRjs.Entity {
|
|
|
3407
3407
|
if (!local) return false;
|
|
3408
3408
|
return local.x >= 0 && local.x <= w && local.y >= 0 && local.y <= h;
|
|
3409
3409
|
}
|
|
3410
|
-
add(
|
|
3410
|
+
add(..._children) {
|
|
3411
3411
|
console.warn(`DOMPortalEntity (${this.id}) is a leaf node. Child entities are not supported.`);
|
|
3412
3412
|
return this;
|
|
3413
3413
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -3407,7 +3407,7 @@ var DOMPortalEntity = class extends Entity {
|
|
|
3407
3407
|
if (!local) return false;
|
|
3408
3408
|
return local.x >= 0 && local.x <= w && local.y >= 0 && local.y <= h;
|
|
3409
3409
|
}
|
|
3410
|
-
add(
|
|
3410
|
+
add(..._children) {
|
|
3411
3411
|
console.warn(`DOMPortalEntity (${this.id}) is a leaf node. Child entities are not supported.`);
|
|
3412
3412
|
return this;
|
|
3413
3413
|
}
|
|
@@ -13,7 +13,7 @@ export declare class DOMPortalEntity extends Entity {
|
|
|
13
13
|
lastOpacity: string;
|
|
14
14
|
constructor(domElement: HTMLElement, width?: number, height?: number, id?: string);
|
|
15
15
|
isPointInside(globalX: number, globalY: number): boolean;
|
|
16
|
-
add(
|
|
16
|
+
add(..._children: Entity[]): this;
|
|
17
17
|
render(): void;
|
|
18
18
|
destroy(): void;
|
|
19
19
|
}
|