Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/vs
diff options
context:
space:
mode:
Diffstat (limited to 'src/vs')
-rw-r--r--src/vs/workbench/browser/parts/titlebar/titlebarPart.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts b/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
index 31f4d9b6e27..34edabed458 100644
--- a/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
+++ b/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
@@ -461,12 +461,12 @@ export class TitlebarPart extends Part implements ITitleService {
this.element.style.setProperty('--zoom-factor', zoomFactor.toString());
this.rootContainer.classList.toggle('counter-zoom', this.useCounterZoom);
- runAtThisOrScheduleAtNextAnimationFrame(() => this.adjustTitleMarginToCenter());
-
if (this.customMenubar) {
const menubarDimension = new Dimension(0, dimension.height);
this.customMenubar.layout(menubarDimension);
}
+
+ runAtThisOrScheduleAtNextAnimationFrame(() => this.adjustTitleMarginToCenter());
}
}