mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +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) {
|
if(this.child_revealed) {
|
||||||
const clapperWidget = this.root.child;
|
const clapperWidget = this.root.child;
|
||||||
|
if(!clapperWidget) return;
|
||||||
|
|
||||||
const [width, height] = this.root.get_default_size();
|
const [width, height] = this.root.get_default_size();
|
||||||
|
|
||||||
clapperWidget.player.widget.height_request = -1;
|
clapperWidget.player.widget.height_request = -1;
|
||||||
|
Reference in New Issue
Block a user