mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Fix error when playback finishes during controls reveal animation
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user