From 69736b797c5058f526a359e24f4b43020c0c7236 Mon Sep 17 00:00:00 2001 From: Florrie Date: Sun, 25 Aug 2019 19:49:06 -0300 Subject: Remove dead 'defaultIndex' argument I didn't end up using this. --- ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.3.0-6-gf8a5