diff --git a/src/vs/code/electron-main/window.ts b/src/vs/code/electron-main/window.ts index 9ee3f1c5d1b021753a263ed17c86a1e976e28319..c47f23854eed9e6ec92e36b4c57844a1efc7d3c2 100644 --- a/src/vs/code/electron-main/window.ts +++ b/src/vs/code/electron-main/window.ts @@ -189,7 +189,7 @@ export class CodeWindow implements ICodeWindow { this._win = new BrowserWindow(options); this._id = this._win.id; - if (useCustomTitleStyle) { + if (isMacintosh && useCustomTitleStyle) { this._win.setSheetOffset(22); // offset dialogs by the height of the custom title bar if we have any }