Skip to content

Commit 7153ea4

Browse files
committed
1 parent 0b21524 commit 7153ea4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/electron-browser/workbench.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,7 @@ export class Workbench extends Disposable implements IPartService {
16521652
let offset = 0;
16531653
if (this.isVisible(Parts.TITLEBAR_PART)) {
16541654
if (this.workbenchGrid instanceof Grid) {
1655-
offset = this.gridHasView(this.titlebarPartView) ? this.workbenchGrid.getViewSize2(this.titlebarPartView).height : 0;
1655+
offset = this.titlebarPart.maximumHeight;
16561656
} else {
16571657
offset = this.workbenchGrid.partLayoutInfo.titlebar.height;
16581658

0 commit comments

Comments
 (0)