angular-three 1.6.2 → 1.6.3

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.
@@ -1724,9 +1724,9 @@ class NgtRendererStore {
1724
1724
  }
1725
1725
  isDOM(node) {
1726
1726
  const rendererNode = node['__ngt_renderer__'];
1727
- if (rendererNode && rendererNode[0 /* NgtRendererClassId.type */] !== 'compound')
1728
- return true;
1729
- return node instanceof Element || node instanceof Document || node instanceof Window;
1727
+ return (!rendererNode ||
1728
+ (rendererNode[0 /* NgtRendererClassId.type */] !== 'compound' &&
1729
+ (node instanceof Element || node instanceof Document || node instanceof Window)));
1730
1730
  }
1731
1731
  get rootScene() {
1732
1732
  return this.root.store.get('scene');