diff options
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui.js b/ui.js index df05bf0..7bc6ed2 100644 --- a/ui.js +++ b/ui.js @@ -1682,6 +1682,11 @@ class ContextMenu extends FocusElement { } } + unselected() { + this.selectedBefore = this.root.selectedElement + this.close() + } + close() { this.clearItems() this.visible = false |