When having the second code (with Fade_PassProtectOverlay) inside a param include such as:
Code:
<include name="Buttons_Icon" description="Layouts">...
It’s simply not working till i do reloadskin()
The icon is completely removed after i change it’s setting..
Code:
<control type="image" description="pwd_lock">
<include>Fade_PassProtectOverlay</include>
<include condition="Skin.String(MenuDesign,4)">MenuDesign4_Icon</include>
<aspectratio align="center">keep</aspectratio>
<texture colordiffuse="$PARAM[color]">special://home/addons/script.featherence.service/resources/icons/Lock.png</texture>
<visible>!String.IsEmpty(ListItem.Property(pwd)) + String.IsEmpty(Window(home).Property(PassProtect))</visible>
</control>
Code:
<include name="Fade_PassProtectOverlay">
<animation condition="!Skin.String(PassProtectOverlay)" effect="fade" end="30" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,10)" effect="fade" end="10" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,20)" effect="fade" end="20" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,30)" effect="fade" end="30" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,40)" effect="fade" end="40" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,50)" effect="fade" end="50" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,60)" effect="fade" end="60" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,65)" effect="fade" end="65" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,70)" effect="fade" end="70" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,80)" effect="fade" end="80" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,85)" effect="fade" end="85" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,90)" effect="fade" end="90" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,95)" effect="fade" end="95" time="0">Conditional</animation>
<animation condition="Skin.String(PassProtectOverlay,100)" effect="fade" end="100" time="0">Conditional</animation>
</include>
Before:
After: