Skip to content

Commit a1e9302

Browse files
committed
removing the useless variable
1 parent 36dc6c0 commit a1e9302

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,9 @@ export class InlineChatController implements IEditorContribution {
205205
} else {
206206
widgetPosition = this._strategy.getWidgetPosition() ?? this._zone.value.position ?? this._activeSession.wholeRange.value.getEndPosition();
207207
}
208-
const position = (widgetPosition);
209-
this._zone.value.show(position);
208+
this._zone.value.show(widgetPosition);
210209
if (initialRender) {
211-
this._zone.value.setMargins(position);
210+
this._zone.value.setMargins(widgetPosition);
212211
}
213212
}
214213

0 commit comments

Comments
 (0)