From 2fe1efa07fdcd36e8cc385b9fc53d5472b6dde55 Mon Sep 17 00:00:00 2001 From: Florrie Date: Sat, 4 Aug 2018 00:12:09 -0300 Subject: Fix queue scrollbar not showing up right away --- ui.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui.js b/ui.js index b6d525c..3c06705 100644 --- a/ui.js +++ b/ui.js @@ -316,8 +316,8 @@ class AppElement extends FocusElement { this.tabber.fillParent() this.tabber.fixLayout() - this.queueListingElement.fillParent() - this.playbackInfoElement.fillParent() + this.queueListingElement.fixLayout() + this.playbackInfoElement.fixLayout() } keyPressed(keyBuf) { @@ -695,6 +695,10 @@ class GrouplikeListingElement extends FocusElement { } fixLayout() { + if (this.parent) { + this.fillParent() + } + this.commentLabel.w = this.contentW this.form.w = this.contentW -- cgit 1.3.0-6-gf8a5