Closed Denz1994 closed 4 years ago
The MoleculeContainerBondNode
and MoleculeControlsHBox
are added to the KitPlayAreaNode.metadataLayer
. This means this check will fail for MoleculeControlsHBox because MoleculeContainerBondNode.molecule is undefined.
metadataNode.visible = kit.molecules.includes( metadataNode.molecule ) && active
;
It would be best to separate the molecule controls and the molecule bond containers into their own layers.
The above commit fixed the buggy behavior described above. This is an overall improvement to the organization of the KitPlayAreaNode
components.
To replicate this bug follow these steps: