« get me outta code hell

Fix remove-from-queue performance - 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-12-14 23:50:19 -0400
committerFlorrie <towerofnix@gmail.com>2018-12-15 00:12:14 -0400
commite618ee3004dc8bf8276b6bee9b0280ce6ca39119 (patch)
tree5d39f8933153e91ea7dde73ba8bcd03593807daf
parentb16d33b1721e29799e99a0a42451a0bbe71f4c3a (diff)
Fix remove-from-queue performance
m---------tui-lib0
-rw-r--r--ui.js2
2 files changed, 1 insertions, 1 deletions
diff --git a/tui-lib b/tui-lib
-Subproject 99d2ed5b2f8bb39fa2517efd5a68dbb2b27b312
+Subproject d712d405f76178fc67b9421c113dccc3537e2a0
diff --git a/ui.js b/ui.js
index 775dbcc..b055990 100644
--- a/ui.js
+++ b/ui.js
@@ -823,7 +823,7 @@ class GrouplikeListingElement extends Form {
     const form = this.form
 
     while (form.inputs.length) {
-      form.removeInput(form.inputs[0])
+      form.removeInput(form.inputs[0], true, {fixLayout: false})
     }
 
     const parent = this.grouplike[parentSymbol]