Posts: 193
Joined: Dec 2004
Reputation:
0
Mntz
Skilled Skinner
Posts: 193
Not sure if this is since Eden but in the past I could make an image (in includes.xml) slide away with (and stay away for all windows in the visible tag):
<animation tween="quadratic" effect="slide" start="0,0" end="0,-960" time="2000">VisibleChange</animation>
<visible>!Window.IsActive(settings) + !Window.IsActive(appearancesettings)</visible>
When I use this now, the image just changes its visibility without the animation.
Am I doing something wrong?
Posts: 17,418
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,418
What happens if you swap VisibleChange for Hidden?
Posts: 17,418
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,418
2012-02-13, 16:43
(This post was last modified: 2012-02-13, 16:46 by Hitcher.)
Wait a minute, wont that make it be off the screen for all windows except settings & appearancesettings, then slide down (but never enough to be seen) and then disappear?
Posts: 193
Joined: Dec 2004
Reputation:
0
Mntz
Skilled Skinner
Posts: 193
Thanks Black, that seems to work fine.
The only issue is that the image gets displayed between changing windows when there is an animation defined on WindowClose. A fade in my case. But disabling this animation for windows where the image should be hidden, is a good workaround. Thanks again!
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Then add a fade to 0 to the window open animation with delay="2000" and it should work. If not, add a window close animation with either a slide to -960 or a fade to 0 with time 0 and the condition Window.IsActive(settings) | Window.IsActive(appearancesettings).