estanglerbm opened a new pull request #1134:
URL: https://github.com/apache/royale-asjs/pull/1134
Fixes issue in SWF target caused by PR #1041.
Basically, any Container with an addElement() that proxies to
contentView.addElement() needs to check that the child is not the contentView.
This comes about through ContainerView. (If it is addElement(contentView),
then it needs to call super.addElement() instead of proxying the call.)
[Legacy was that addElement(contentView) happened only on JS side, and the
addElement() proxying was usually only on the SWF side (except in
SkinnableContainer), so they didn't interact. Recent changes made
addElement(contentView) happen on the SWF side, too, so now they interacted.]
ADDED CHECK
frameworks\projects\Basic\src\main\royale\org\apache\royale\core\ContainerBase.as
frameworks\projects\MXRoyale\src\main\royale\mx\core\Container.as
frameworks\projects\Jewel\src\main\royale\org\apache\royale\jewel\supportClasses\container\ContainerBase.as
CHECK NOT NEEDED
frameworks\projects\SparkRoyale\src\main\royale\spark\components\SkinnableContainer.as
- Already has the check.
frameworks\projects\Basic\src\main\royale\org\apache\royale\svg\GraphicContainer.as
- Doesn't have contentView.
frameworks\projects\Core\src\main\royale\org\apache\royale\core\ContainerBaseStrandChildren.as
- Doesn't have contentView.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]