diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2020-09-16 12:52:40 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2020-09-16 12:52:40 -0300 |
commit | 60f33193fb78c8154a1b112d0faf76af34288df8 (patch) | |
tree | 03e413f83c5ca128dbc77bd2f9bbd05ed9309052 | |
parent | 466582b32b1b3749d30c24827a934d8e826723f3 (diff) |
cancel jump-to when selecting outside of listing
-rw-r--r-- | todo.txt | 1 | ||||
-rw-r--r-- | ui.js | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/todo.txt b/todo.txt index 0be297c..0a478b7 100644 --- a/todo.txt +++ b/todo.txt @@ -526,6 +526,7 @@ TODO: In that regard, also change the queue length label (just above the time TODO: Deselecting a grouplike listing (e.g. by clicking elsewhere) should hide its "jump to" element. + (Done!) TODO: A "before selected item" option for in the queue menu! (Done!) diff --git a/ui.js b/ui.js index 642a02a..5a801de 100644 --- a/ui.js +++ b/ui.js @@ -2070,6 +2070,10 @@ class GrouplikeListingElement extends Form { this.fixLayout() } + unselected() { + this.hideJumpElement(true) + } + get tabberLabel() { if (this.grouplike) { return this.grouplike.name || 'Unnamed group' |