提交 622ddc0d 编写于 作者: D Daniel Imms

Fix backwards layout in terminal

Fixes #91580
Fixes #91135
Fixes #91119
上级 0c2947fd
......@@ -114,7 +114,7 @@ export class TerminalViewPane extends ViewPane {
}));
// Force another layout (first is setContainers) since config has changed
this.layoutBody(this._terminalContainer.offsetWidth, this._terminalContainer.offsetHeight);
this.layoutBody(this._terminalContainer.offsetHeight, this._terminalContainer.offsetWidth);
}
protected layoutBody(height: number, width: number): void {
......@@ -321,7 +321,7 @@ export class TerminalViewPane extends ViewPane {
}
// TODO: Can we support ligatures?
// dom.toggleClass(this._parentDomElement, 'enable-ligatures', this._terminalService.configHelper.config.fontLigatures);
this.layoutBody(this._parentDomElement.offsetWidth, this._parentDomElement.offsetHeight);
this.layoutBody(this._parentDomElement.offsetHeight, this._parentDomElement.offsetWidth);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册