Skip to content

Commit 73baf5f

Browse files
committed
cleanin the code
1 parent c3bd332 commit 73baf5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ export class InteractiveEditorZoneWidget extends ZoneWidget {
813813
}
814814
}
815815
this._indentationWidth = this.editor.getOffsetForColumn(indentationLineNumber ?? endLineNumber, indentationLevel ?? viewModel.getLineFirstNonWhitespaceColumn(endLineNumber));
816-
const marginWithoutIndentation = info.lineNumbersWidth + info.glyphMarginWidth + info.decorationsWidth;
816+
const marginWithoutIndentation = info.glyphMarginWidth + info.decorationsWidth + info.lineNumbersWidth;
817817
const marginWithIndentation = marginWithoutIndentation + this._indentationWidth;
818818
const isEnoughAvailableSpaceWithIndentation = this._availableSpaceWithIndentation() > 400;
819819
this._indentationWidth = isEnoughAvailableSpaceWithIndentation ? this._indentationWidth : 0;

0 commit comments

Comments
 (0)