« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index 61e8db0..f382cb2 100644
--- a/ui.js
+++ b/ui.js
@@ -1570,6 +1570,7 @@ class GrouplikeListingForm extends ListScrollForm {
     if (!this.keyboardDragDirection) {
       const item = getItem()
       if (!item) {
+        move()
         return
       }
       this.keyboardDragDirection = direction
@@ -1592,6 +1593,7 @@ class GrouplikeListingForm extends ListScrollForm {
     } else {
       const item = getItem()
       if (!item) {
+        move()
         return
       }
       this.dragLeftRange(item)