提交 cd5081e6 编写于 作者: S SteVen Batten

fixes #55513

上级 e2a10343
......@@ -656,6 +656,11 @@ export class MenubarPart extends Part {
});
this.customMenus[menuIndex].buttonElement.on(EventType.CLICK, (e) => {
// This should only happen for mnemonics and we shouldn't trigger them
if (!this.isVisible) {
return;
}
if (this._modifierKeyStatus && (this._modifierKeyStatus.shiftKey || this._modifierKeyStatus.ctrlKey)) {
return; // supress keyboard shortcuts that shouldn't conflict
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册