-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Creator must have changed the internal names for them at one point, cc.RadioGroup is used for the C++ plugin, but cc.RadioContainer is what Creator exports.
After the Layout PR I haven't finished, I'm hoping someone else can pick up my slack.
The replacements I made were in parser/ToggleGroup.js, parser/Utils.js, and parser/ToggleContainer.js. Changing references from cc.RadioGroup to cc.RadioContainer in the plugin mostly works but the positioning is off, so something else is missing.
Seems like without changing the type names, the background and positions are correct, and CreatorReader::createToggle is called correctly, but the events aren't handling selecting them properly. If you do change the types to cc.RadioContainer, CreatorReader::createToggleGroup is called instead, and manually makes the RadioButtons and the individual nodes don't get parsed.