提交 40d5fd27 编写于 作者: I isidor

fixes #84810

上级 acb8bd59
......@@ -111,6 +111,7 @@ export class DebugToolBar extends Themable implements IWorkbenchContribution {
private updateScheduler: RunOnceScheduler;
private debugToolBarMenu: IMenu;
private disposeOnUpdate: IDisposable | undefined;
private yCoordinate = 0;
private isVisible = false;
private isBuilt = false;
......@@ -264,9 +265,10 @@ export class DebugToolBar extends Themable implements IWorkbenchContribution {
}
}
private setYCoordinate(y = 0): void {
private setYCoordinate(y = this.yCoordinate): void {
const titlebarOffset = this.layoutService.getTitleBarOffset();
this.$el.style.top = `${titlebarOffset + y}px`;
this.yCoordinate = y;
}
private setCoordinates(x?: number, y?: number): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册