From 9ce69fd6ba89d20b4a8d558287488b3597f21de8 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 29 Dec 2025 15:34:48 +0800 Subject: [PATCH] bugfix --- bricks/menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/menu.js b/bricks/menu.js index 786c1c8..582375b 100644 --- a/bricks/menu.js +++ b/bricks/menu.js @@ -22,7 +22,7 @@ bricks.Menu = class extends bricks.VScrollPanel { this.container = new bricks.VBox({}); this.container.user_data = opts; this.add_widget(this.container); - schedule_once(this.create_children.bind(this, this.container, this.opts.items), 0.1); + schedule_once(this.create_children.bind(this, this, this.opts.items), 0.1); } create_submenu_container(){ let cp = new bricks.VBox({});