Do not show tracks revealer when there are no tracks

This commit is contained in:
Rafostar
2020-12-03 11:59:59 +01:00
parent c3d60a600e
commit 150fdb7cbb
2 changed files with 6 additions and 0 deletions

View File

@@ -76,6 +76,7 @@ class ClapperControls extends Gtk.Box
this.revealTracksRevealer = new Revealers.ButtonsRevealer('SLIDE_LEFT');
this.revealTracksRevealer.append(revealTracksButton);
this.revealTracksRevealer.set_visible(false);
this.append(this.revealTracksRevealer);
tracksRevealer.set_reveal_child(true);