The custom node does not have custom context menu as it described in the debugLayer.show
.
As I found in sources TreeItemSpecializedComponent
:
return (
<div className="meshTools">
<TreeItemLabelComponent label={entity.name} onClick={() => this.onClick()} icon={faProjectDiagram} color="cornflowerblue" />
</div>
);
there are no <ExtensionsComponent ...>
after the TreeItemLabel
as it make in all onther nodes. For example here is the render method for SkeletonTreeItemComponent
:
return (
<div className="skeletonTools">
<TreeItemLabelComponent label={skeleton.name || "no name"} onClick={() => this.props.onClick()} icon={faSkull} color="gray" />
{<ExtensionsComponent target={skeleton} extensibilityGroups={this.props.extensibilityGroups} />}
</div>
);
Is it the bug? Or what is the reason why it work so?