IsmAvatar / LateralGM

A free Game Maker source file editor
http://lateralgm.org/
Other
95 stars 25 forks source link

Card Pane Association #549

Closed RobertBColton closed 3 years ago

RobertBColton commented 3 years ago

This fixes an issue that popped up in #547 without me having to patch the lgmplugin for ENIGMA right now. In #547 I added a "General" game settings panel, which was being confused with the ENIGMA "General" settings panel. This is my simple solution for now to first show the card with the same name as the selected tree node, then show the card whose name is a string of the tree node's hash code if that didn't show anything.

Now it's optional whether to give the card the tree node name or a name that is a string of the hash code of the tree node. All of LGM's main built-in panels opt for using the hash code as the string name of the card. This allows ENIGMA's panels to still be selected and not confused with the built-in LGM ones.