diff options
author | Florrie <towerofnix@gmail.com> | 2020-07-07 11:31:29 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-07-07 11:34:03 -0300 |
commit | 0e0cb91ffc1e7a28a03428528d437e074145a72e (patch) | |
tree | c95de926af072736724bd8d500d12b2833700296 | |
parent | b7d4decd7c18352c02102156611a2a533a01e75c (diff) |
make the mtui menu work again!
i forgot to implement menuItems. oops. :P
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js index 0bd512a..04c65c0 100644 --- a/ui.js +++ b/ui.js @@ -4175,7 +4175,7 @@ class Menubar extends ListScrollForm { button.on('pressed', () => { this.contextMenu = this.showContextMenu({ x: container.absLeft, y: container.absY + 1, - items: menuFn + items: menuFn || menuItems }) this.contextMenu.on('closed', () => { this.contextMenu = null |