« get me outta code hell

Fix tabber altogether disappearing - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-08-15 14:57:24 -0300
committerFlorrie <towerofnix@gmail.com>2018-08-15 14:57:25 -0300
commit102d8e8e2b456523979e20a77a4f30d11b91688d (patch)
tree2370cfc5be06d8a6952944b04e120d03915ac2a0
parentb5418b63af5aa1dda4ff58c5be6d5f5385805c5e (diff)
Fix tabber altogether disappearing
This basically reverts 2fe1efa0 (and I think one related commit).
-rw-r--r--ui.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/ui.js b/ui.js
index 8a93fd7..b6d525c 100644
--- a/ui.js
+++ b/ui.js
@@ -316,7 +316,7 @@ class AppElement extends FocusElement {
 
     this.tabber.fillParent()
     this.tabber.fixLayout()
-    this.queueListingElement.fixLayout()
+    this.queueListingElement.fillParent()
     this.playbackInfoElement.fillParent()
   }
 
@@ -695,10 +695,6 @@ class GrouplikeListingElement extends FocusElement {
   }
 
   fixLayout() {
-    if (this.parent) {
-      this.fillParent()
-    }
-
     this.commentLabel.w = this.contentW
 
     this.form.w = this.contentW