diff options
author | Florrie <towerofnix@gmail.com> | 2020-04-23 16:18:51 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-04-23 16:18:51 -0300 |
commit | 980082e13c18dd9d0def4bc1508b465fb6b2c0eb (patch) | |
tree | ff714992f0d530c3095bdca9c00d35c816dad9ad /ui.js | |
parent | 50c0ebc87d720a015826d1975aa50e66a8f3d513 (diff) |
update tui-lib; change wheel mode in autoscroll
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.js b/ui.js index a21bf3c..de01ace 100644 --- a/ui.js +++ b/ui.js @@ -1756,8 +1756,10 @@ class GrouplikeListingElement extends Form { toggleAutoscroll() { if (this.autoscrollOffset === null) { this.autoscrollOffset = this.form.curIndex - this.form.scrollItems + this.form.wheelMode = 'selection' } else { this.autoscrollOffset = null + this.form.wheelMode = 'scroll' } } |