This commit is contained in:
SteVen Batten 2018-07-28 22:55:54 -07:00
parent 1ff1c125bf
commit 9392557319
2 changed files with 0 additions and 9 deletions

View file

@ -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');

View file

@ -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