correct the syntax to call the instantiated window

This commit is contained in:
buzz-lightsnack-2007 2024-04-28 22:09:21 +08:00
parent fc2ce60611
commit b9fa789ecd

View file

@ -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()});
}