Kodi Community Forum

Full Version: Animation in viewtype
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a slide animation on an image in a viewtype (b). First time it becomes visible it behaves unexpected going from -250 to 0.

Startup or refresh in viewtype (a), focus and click my control 301 that changes the viewtype. Now viewtype (b) will show and the image goes from -250 to 0 (a start in reverse). If i keep pressing control 301 to keep going through viewtypes this behavior is not seen again when (b) shows up. Changing start and end or removing the exclamation mark gives the similar results.

<animation effect="slide" start="0,0" end="-250,0" time="600" reversible="true" condition="!Control.HasFocus(301)">Conditional</animation>