We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b95170 commit 8ff2722Copy full SHA for 8ff2722
1 file changed
src/vs/workbench/browser/parts/editor/tabsTitleControl.ts
@@ -953,13 +953,13 @@ export class TabsTitleControl extends TitleControl {
953
}
954
955
layout(dimension: Dimension): void {
956
+ this.dimension = dimension;
957
+
958
const activeTab = this.getTab(this.group.activeEditor);
- if (!activeTab || !dimension) {
959
+ if (!activeTab || !this.dimension) {
960
return;
961
962
- this.dimension = dimension;
-
963
// The layout of tabs can be an expensive operation because we access DOM properties
964
// that can result in the browser doing a full page layout to validate them. To buffer
965
// this a little bit we try at least to schedule this work on the next animation frame.
0 commit comments