chore - remove dead code (#211946)

This commit is contained in:
Johannes Rieken
2024-05-03 16:27:09 +02:00
committed by GitHub
parent 23cf49343c
commit db964c5e69
2 changed files with 3 additions and 115 deletions

View File

@@ -104,8 +104,7 @@ export class InlineChatZoneWidget extends ZoneWidget {
protected override _doLayout(heightInPixel: number): void {
const maxWidth = !this.widget.showsAnyPreview() ? 640 : Number.MAX_SAFE_INTEGER;
const width = Math.min(maxWidth, this._availableSpaceGivenIndentation(this._indentationWidth));
const width = Math.min(640, this._availableSpaceGivenIndentation(this._indentationWidth));
this._dimension = new Dimension(width, heightInPixel);
this.widget.layout(this._dimension);
}