Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84825

weird image display due to animations, possibly a bug

$
0
0
Hi, I am having trouble with a button displaying as I would like it to... the code is:
Code:
<control type="image">
                    <animation type="WindowOpen" reversible="false">
                        <effect type="fade" start="0" end="30" time="500" tween="sine" />
                        <effect type="zoom" start="0" end="70" center="auto" time="500" tween="back" />
                    </animation>
                    <animation type="WindowClose" reversible="false">
                        <effect type="fade" start="30" end="0" time="200" tween="sine" />
                    </animation>
                    <animation type="Conditional" condition="Control.HasFocus(555)" reversible="true">
                        <effect type="fade" start="30" end="100" time="400" tween="sine" />
                        <effect type="zoom" start="70" end="100" center="auto" time="400" tween="back" />
                    </animation>
                    <posx>40</posx>
                    <posy>1000</posy>
                    <width>48</width>
                    <height>48</height>
                    <texture>home1/power.png</texture>
                 </control>
As you can see, I would like the image to default to being a bit smaller and transparent until you select the button, at which point the size and opacity should be 100%. However this doesn't happen, and on selection, the image stays at 30 and 70, and decreases further when moving away. The control is just a hidden button. Logically, at least to me, the above should work ...is this a bug? And what do you recommend as a workaround?

Viewing all articles
Browse latest Browse all 84825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>