« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
m---------tui-lib0
-rw-r--r--ui.js1
2 files changed, 1 insertions, 0 deletions
diff --git a/tui-lib b/tui-lib
-Subproject acb8c05987c72ceca423acf2f5761a50f641d1f
+Subproject 878e55e7c2a203d89fb1dad83ba6d6d8751b521
diff --git a/ui.js b/ui.js
index 6d49649..5371b56 100644
--- a/ui.js
+++ b/ui.js
@@ -166,6 +166,7 @@ class AppElement extends FocusElement {
 
     // We add this is a child later (so that it's on top of every element).
     this.menuLayer = new DisplayElement()
+    this.menuLayer.clickThrough = true
     this.showContextMenu = this.showContextMenu.bind(this)
 
     this.menubar = new Menubar(this.showContextMenu)