feat: shell node add isRGLContainer API (#1190)

* feat: shell node add isRGLContainer API
This commit is contained in:
丁志磊 2022-11-02 14:19:46 +08:00 committed by GitHub
parent b33cd1be88
commit 55365194e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9011 additions and 3 deletions

View File

@ -124,9 +124,7 @@ export default class Node {
/**
* judge if it is a node or not
*/
get isNode() {
return true;
}
readonly isNode = true;
/**
*
@ -476,6 +474,19 @@ export default class Node {
remove() {
this[nodeSymbol].remove();
}
/**
*
*/
set isRGLContainer(flag: boolean) {
this[nodeSymbol].isRGLContainer = flag;
}
/**
*
* @returns Boolean
*/
get isRGLContainer() {
return this[nodeSymbol].isRGLContainer;
}
internalToShellNode() {
return this;

8997
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff