mirror of
https://github.com/Microsoft/vscode
synced 2024-10-13 14:57:14 +00:00
fixes #54929
This commit is contained in:
parent
1ff1c125bf
commit
9392557319
|
@ -69,7 +69,6 @@
|
|||
.monaco-workbench > .part.titlebar > .window-appicon {
|
||||
width: 35px;
|
||||
height: 100%;
|
||||
-webkit-app-region: no-drag;
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
background-image: url('code-icon.svg');
|
||||
|
|
|
@ -269,14 +269,6 @@ export class TitlebarPart extends Part implements ITitleService {
|
|||
// App Icon (Windows/Linux)
|
||||
if (!isMacintosh) {
|
||||
this.appIcon = $(this.titleContainer).div({ class: 'window-appicon' });
|
||||
|
||||
if (isWindows) {
|
||||
this.appIcon.on(EventType.DBLCLICK, e => {
|
||||
EventHelper.stop(e, true);
|
||||
|
||||
this.windowService.closeWindow().then(null, errors.onUnexpectedError);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Menubar: the menubar part which is responsible for populating both the custom and native menubars
|
||||
|
|
Loading…
Reference in a new issue