From b9fa789ecd9fdde68d51b31bf937c7386b567e15 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Sun, 28 Apr 2024 22:09:21 +0800 Subject: [PATCH] correct the syntax to call the instantiated window --- scripts/GUI/entrypoints/manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/GUI/entrypoints/manager.js b/scripts/GUI/entrypoints/manager.js index fb6d831..5e3ef91 100644 --- a/scripts/GUI/entrypoints/manager.js +++ b/scripts/GUI/entrypoints/manager.js @@ -25,7 +25,7 @@ export default class EntryManager { Window.addActionListener(`onFocusChanged`, (data) => {this.onRefresh()}); // Add the context menu event. - IconIndicator.set(this.instances.popup.show); + IconIndicator.set(() => {this.instances.popup.show()}); this.instances.menu.menu.onclick(() => {this.instances.popup.show()}); }