From ec0a24d7108341b3de3b6292cc82619862bb88de Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Wed, 1 May 2024 01:48:37 -0700 Subject: [PATCH] Add theming to context menus --- src/js/stendhal/ui/component/ChatLogComponent.ts | 2 +- src/js/stendhal/ui/dialog/ActionContextMenu.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/stendhal/ui/component/ChatLogComponent.ts b/src/js/stendhal/ui/component/ChatLogComponent.ts index d4645fa627a..6f069570f49 100644 --- a/src/js/stendhal/ui/component/ChatLogComponent.ts +++ b/src/js/stendhal/ui/component/ChatLogComponent.ts @@ -500,7 +500,7 @@ class LogContextMenu extends Component { constructor(options: MenuItem[]) { - super("contextmenu-template"); + super("contextmenu-template", true); this.options = options; let content = "
"; diff --git a/src/js/stendhal/ui/dialog/ActionContextMenu.ts b/src/js/stendhal/ui/dialog/ActionContextMenu.ts index 0433a24c328..46ee1b00618 100644 --- a/src/js/stendhal/ui/dialog/ActionContextMenu.ts +++ b/src/js/stendhal/ui/dialog/ActionContextMenu.ts @@ -23,7 +23,7 @@ export class ActionContextMenu extends Component { private appendActions: any[]; constructor(entity: any, append: any[] = []) { - super("contextmenu-template"); + super("contextmenu-template", true); this.entity = entity; this.appendActions = append; this.gatherActions();