« get me outta code hell

Keep selected item in view (wrt shift selecting) - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/ui.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-08-27 17:04:09 -0300
committerFlorrie <towerofnix@gmail.com>2019-08-27 17:04:09 -0300
commit88d42caf4aaa5aa5a235b8f434704bbe8f6a9f92 (patch)
tree18b2bc9d3c9d7acc4f75a186fe11721bdbca6936 /ui.js
parent69736b797c5058f526a359e24f4b43020c0c7236 (diff)
Keep selected item in view (wrt shift selecting)
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index 3102dfb..3f9611e 100644
--- a/ui.js
+++ b/ui.js
@@ -1570,6 +1570,7 @@ class GrouplikeListingForm extends ListScrollForm {
       } else {
         this.previousInput()
       }
+      this.scrollSelectedElementIntoView()
     }
 
     const getItem = () => {