diff options
author | Florrie <towerofnix@gmail.com> | 2019-08-25 19:49:06 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-08-25 19:49:06 -0300 |
commit | 69736b797c5058f526a359e24f4b43020c0c7236 (patch) | |
tree | f270cfb373f963bf221b64beb1d97dc89388aea8 | |
parent | 1337e00646d1b888db6ad8827faf1db9a0329cf3 (diff) |
Remove dead 'defaultIndex' argument
I didn't end up using this.
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js index e0ab4f6..3102dfb 100644 --- a/ui.js +++ b/ui.js @@ -2920,7 +2920,7 @@ class ContextMenu extends FocusElement { this.submenu = null } - show({x = 0, y = 0, defaultIndex = 0, items}) { + show({x = 0, y = 0, items}) { items = items.filter(Boolean) if (!items.length) { return |