Kodi Community Forum

Full Version: discart problem !! your opinion :)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need your advice, here is the code Discart.

It works well, but when I close and open the window again, he does not go out, it is then necessary to do F5 to resume work. Can you tell me if I made ​​a mistake

Thx very much

PHP Code:
<control type="image">
                    <
left>490</left>
                    <
top>350</top>
                    <
width>200</width>
                    <
height>200</height>
                    <include>
art_Discart</include>
                    <
visible>Skin.HasSetting(discart.movies.enable)</visible>
                    <
visible>Control.IsVisible(594)</visible>
                    <
animation type="WindowOpen">
                                <
effect type="fade" start="0" end="150" time="600" delay="800" tween="sine" easing="out"/>
                                <
effect type="zoom" start="350,450,200,200" end="250,500,200,200" time="980" delay="750" tween="sine" easing="out"/>
                                <
effect type="slide" start="0,0,80" end="80,0,0" time="980" delay="750" tween="sine" easing="out"/>
                            </
animation>
                            <
animation type="WindowClose">
                                <
effect type="fade" start="150" end="0" time="400" delay="200" tween="sine" easing="out"/>
                                <
effect type="zoom" start="250,500,200,200" end="350,450,200,200" time="780" delay="0" tween="sine" easing="out"/>
                                <
effect type="slide" start="80,0,0" end="0,0,80" time="780" delay="0" tween="sine" easing="out"/>
                            </
animation>
                </
control
I'm a bit confused by your animation values -

Fade can only go up to 100(%)
Slide only uses 2 values (left,top)
ok :Thank you Smile