video: Use cross-fade transition to avoid resizes

Slide animations cause changes in the size requests due to the
behavior of GtkRevealer. We can avoid those by using cross-fades, which
don't have that problem.

Besides, cross-fades look better anyway.
This commit is contained in:
Benjamin Otte
2021-08-02 20:11:32 +02:00
parent 99e4a6a2d6
commit 882855f865

View File

@@ -24,7 +24,7 @@
<child type="overlay">
<object class="GtkRevealer" id="controls_revealer">
<property name="valign">end</property>
<property name="transition-type">slide-up</property>
<property name="transition-type">crossfade</property>
<child>
<object class="GtkMediaControls" id="controls">
<style>