mirror of
https://github.com/Rafostar/clapper.git
synced 2026-01-18 01:30:13 +01:00
Performance: do not try to render controls box when empty
This commit is contained in:
@@ -198,6 +198,8 @@ var Widget = GObject.registerClass({
|
||||
this.revealerBottom.remove(this.controls);
|
||||
this.controlsBox.append(this.controls);
|
||||
}
|
||||
|
||||
this.controlsBox.set_visible(!isOnTop);
|
||||
}
|
||||
|
||||
_onMediaInfoUpdated(player, mediaInfo)
|
||||
|
||||
Reference in New Issue
Block a user