mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-11 16:50:32 +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>
|
||||
|
||||
|
||||
<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)-->
|
||||
<reloadableVideo imageType="snap" x="480" y="170" xOrigin="center" height="480" width="640" layer="5">
|
||||
<onHighlightEnter>
|
||||
@ -44,11 +57,8 @@
|
||||
<animate type="alpha" from="1" to="0" algorithm="easeinquadratic"/>
|
||||
</set>
|
||||
</onHighlightExit>
|
||||
|
||||
</reloadableVideo>
|
||||
|
||||
|
||||
<!-- boxart -->
|
||||
<reloadableImage type="box" x="480" y="750" xOrigin="center" height="240" layer="4">
|
||||
<onHighlightEnter>
|
||||
<set duration=".4">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user