Skip to content

Commit

Permalink
Add theming to context menus
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed May 1, 2024
1 parent 4d3b231 commit ec0a24d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/stendhal/ui/component/ChatLogComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ class LogContextMenu extends Component {


constructor(options: MenuItem[]) {
super("contextmenu-template");
super("contextmenu-template", true);
this.options = options;

let content = "<div class=\"actionmenu\">";
Expand Down
2 changes: 1 addition & 1 deletion src/js/stendhal/ui/dialog/ActionContextMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ec0a24d

Please sign in to comment.