Skip to content

Commit

Permalink
Call onHide callback in MonacoContextMenuService (eclipse-theia#11152)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-grant-work authored May 13, 2022
1 parent 2ecc3c5 commit 26b7891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/monaco/src/browser/monaco-context-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class MonacoContextMenuService implements IContextMenuService {
command: commandId
});
}
menu.aboutToClose.connect(() => onHide);
menu.aboutToClose.connect(() => onHide());
menu.open(anchor.x, anchor.y);
}
this.onDidShowContextMenuEmitter.fire();
Expand Down

0 comments on commit 26b7891

Please sign in to comment.