mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-02-18 07:20:21 +01:00
Added border around video in main layout. Tweens on enter and exit of layout.
This commit is contained in:
parent
ac3552ff91
commit
985b0e4d0e
@ -32,6 +32,19 @@
|
|||||||
</image>
|
</image>
|
||||||
|
|
||||||
|
|
||||||
|
<container backgroundColor="FFFFFF" backgroundAlpha="0.3" x="480" y="160" xOrigin="center" height="500" width="660" layer="4">
|
||||||
|
<onEnter>
|
||||||
|
<set duration=".4">
|
||||||
|
<animate type="backgroundAlpha" from="0" to="0.3" algorithm="easeinquadratic"/>
|
||||||
|
</set>
|
||||||
|
</onEnter>
|
||||||
|
<onExit>
|
||||||
|
<set duration=".2">
|
||||||
|
<animate type="backgroundAlpha" from="0.3" to="0" algorithm="easeinquadratic"/>
|
||||||
|
</set>
|
||||||
|
</onExit>
|
||||||
|
</container>
|
||||||
|
|
||||||
<!-- video (or snapshot if video doesn't exist)-->
|
<!-- video (or snapshot if video doesn't exist)-->
|
||||||
<reloadableVideo imageType="snap" x="480" y="170" xOrigin="center" height="480" width="640" layer="5">
|
<reloadableVideo imageType="snap" x="480" y="170" xOrigin="center" height="480" width="640" layer="5">
|
||||||
<onHighlightEnter>
|
<onHighlightEnter>
|
||||||
@ -44,11 +57,8 @@
|
|||||||
<animate type="alpha" from="1" to="0" algorithm="easeinquadratic"/>
|
<animate type="alpha" from="1" to="0" algorithm="easeinquadratic"/>
|
||||||
</set>
|
</set>
|
||||||
</onHighlightExit>
|
</onHighlightExit>
|
||||||
|
|
||||||
</reloadableVideo>
|
</reloadableVideo>
|
||||||
|
|
||||||
|
|
||||||
<!-- boxart -->
|
|
||||||
<reloadableImage type="box" x="480" y="750" xOrigin="center" height="240" layer="4">
|
<reloadableImage type="box" x="480" y="750" xOrigin="center" height="240" layer="4">
|
||||||
<onHighlightEnter>
|
<onHighlightEnter>
|
||||||
<set duration=".4">
|
<set duration=".4">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user