GitHub
Moderator
[skin] fix findWidgets
The original code added here ab2507e4d306c2cf94be54d1806d6853ded8d621 does not work properly. It skips unnamed positional panels which may contain widgets, e.g.
<!-- Button Template -->
<screen name="__ButtonTemplate__">
<panel position="165*f,e-34*f" size="275*f,25*f">
<panel name="__ButtonRed__"/>
</panel>
<panel position="445*f,e-34*f" size="275*f,25*f">
<panel name="__ButtonGreen__"/>
</panel>
<panel position="725*f,e-34*f" size="275*f,25*f">
<panel name="__ButtonYellow__"/>
</panel>
<panel position="1005*f,e-34*f" size="275*f,25*f">
<panel name="__ButtonBlue__"/>
</panel>
<panel name="__KeyMenuAutoTemplate__"/>
<panel name="__KeyInfoAutoTemplate__"/>
<panel name="__KeyHelpAutoTemplate__"/>
<panel name="__KeyTextAutoTemplate__"/>
<panel name="__VKeyIconPanel__"/>
</screen>
Continue reading...
The original code added here ab2507e4d306c2cf94be54d1806d6853ded8d621 does not work properly. It skips unnamed positional panels which may contain widgets, e.g.
<!-- Button Template -->
<screen name="__ButtonTemplate__">
<panel position="165*f,e-34*f" size="275*f,25*f">
<panel name="__ButtonRed__"/>
</panel>
<panel position="445*f,e-34*f" size="275*f,25*f">
<panel name="__ButtonGreen__"/>
</panel>
<panel position="725*f,e-34*f" size="275*f,25*f">
<panel name="__ButtonYellow__"/>
</panel>
<panel position="1005*f,e-34*f" size="275*f,25*f">
<panel name="__ButtonBlue__"/>
</panel>
<panel name="__KeyMenuAutoTemplate__"/>
<panel name="__KeyInfoAutoTemplate__"/>
<panel name="__KeyHelpAutoTemplate__"/>
<panel name="__KeyTextAutoTemplate__"/>
<panel name="__VKeyIconPanel__"/>
</screen>
Continue reading...