Skip to content

Commit 1860ea1

Browse files
committed
1 parent d532fad commit 1860ea1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ export class InlineChatController implements IEditorContribution {
248248
if (!needsMargin) {
249249
this._zone.value.setWidgetMargins(widgetPosition, 0);
250250
}
251+
}
252+
if (this._activeSession) {
251253
this._zone.value.updateBackgroundColor(widgetPosition, this._activeSession.wholeRange.value);
252254
}
253255
this._zone.value.show(widgetPosition);

0 commit comments

Comments
 (0)