We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b21524 commit 7153ea4Copy full SHA for 7153ea4
1 file changed
src/vs/workbench/electron-browser/workbench.ts
@@ -1652,7 +1652,7 @@ export class Workbench extends Disposable implements IPartService {
1652
let offset = 0;
1653
if (this.isVisible(Parts.TITLEBAR_PART)) {
1654
if (this.workbenchGrid instanceof Grid) {
1655
- offset = this.gridHasView(this.titlebarPartView) ? this.workbenchGrid.getViewSize2(this.titlebarPartView).height : 0;
+ offset = this.titlebarPart.maximumHeight;
1656
} else {
1657
offset = this.workbenchGrid.partLayoutInfo.titlebar.height;
1658
0 commit comments