angular-three 1.4.0 → 1.4.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.
|
@@ -1698,7 +1698,8 @@ class NgtRendererStore {
|
|
|
1698
1698
|
return this.root.compoundPrefixes.some((prefix) => name.startsWith(prefix));
|
|
1699
1699
|
}
|
|
1700
1700
|
isDOM(node) {
|
|
1701
|
-
return node
|
|
1701
|
+
return (node['__ngt_renderer__']?.[0 /* NgtRendererClassId.type */] !== 'compound' &&
|
|
1702
|
+
(node instanceof Element || node instanceof Document));
|
|
1702
1703
|
}
|
|
1703
1704
|
get rootScene() {
|
|
1704
1705
|
return this.root.store.get('scene');
|