@effindomv2/fui-as 0.1.35 → 0.1.36
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/package.json +1 -1
- package/src/controls/ContextMenu.ts +1 -1
- package/src/core/Node.ts +3 -1
package/package.json
CHANGED
package/src/core/Node.ts
CHANGED
|
@@ -991,6 +991,8 @@ export abstract class Node implements DragGestureHost, Disposable {
|
|
|
991
991
|
return this;
|
|
992
992
|
}
|
|
993
993
|
|
|
994
|
+
/// Removes `node` from this parent. Does NOT call `dispose()` — the C++ handle
|
|
995
|
+
/// stays alive so callers can re-parent with `addChildNode()`.
|
|
994
996
|
removeChildNode(node: Node): this {
|
|
995
997
|
const index = this.indexOfChild(node);
|
|
996
998
|
if (index < 0) {
|
|
@@ -1737,4 +1739,4 @@ export abstract class Node implements DragGestureHost, Disposable {
|
|
|
1737
1739
|
}
|
|
1738
1740
|
}
|
|
1739
1741
|
|
|
1740
|
-
}
|
|
1742
|
+
}
|