提交 1b232526 编写于 作者: B Benjamin Pasero

make #67357 better

上级 d3b30f8b
......@@ -1655,10 +1655,10 @@ export class Workbench extends Disposable implements IPartService {
offset = this.gridHasView(this.titlebarPartView) ? this.workbenchGrid.getViewSize2(this.titlebarPartView).height : 0;
} else {
offset = this.workbenchGrid.partLayoutInfo.titlebar.height;
}
if (isMacintosh || this.menubarVisibility === 'hidden') {
offset /= getZoomFactor();
if (isMacintosh || this.menubarVisibility === 'hidden') {
offset /= getZoomFactor();
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册