提交 1ce69ed4 编写于 作者: S SteVen Batten

fixes #55421

上级 3a5b1263
......@@ -295,11 +295,13 @@ export class TitlebarPart extends Part implements ITitleService {
}
// Maximize/Restore on doubleclick
this.title.on(EventType.DBLCLICK, (e) => {
EventHelper.stop(e);
if (isMacintosh) {
this.titleContainer.on(EventType.DBLCLICK, (e) => {
EventHelper.stop(e);
this.onTitleDoubleclick();
});
this.onTitleDoubleclick();
});
}
// Context menu on title
this.title.on([EventType.CONTEXT_MENU, EventType.MOUSE_DOWN], (e: MouseEvent) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册