Fix error when playback finishes during controls reveal animation

This commit is contained in:
Rafał Dzięgiel
2021-03-08 10:37:40 +01:00
parent 4e85f6b749
commit 6dc37088cf

View File

@@ -315,6 +315,8 @@ class ClapperControlsRevealer extends Gtk.Revealer
{
if(this.child_revealed) {
const clapperWidget = this.root.child;
if(!clapperWidget) return;
const [width, height] = this.root.get_default_size();
clapperWidget.player.widget.height_request = -1;