Skip to content

Commit d463dc0

Browse files
committed
the second show widget should also take in value true
1 parent a0183bc commit d463dc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export class InlineChatController implements IEditorContribution {
307307
}
308308
});
309309

310-
this._showWidget(false);
310+
this._showWidget(true);
311311

312312
this._sessionStore.add(this._editor.onDidChangeModel((e) => {
313313
const msg = this._activeSession?.lastExchange

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export class LiveStrategy extends EditModeStrategy {
366366
}
367367

368368
override needsMargin(): boolean {
369-
return Boolean(this._session.lastTextModelChanges.length);
369+
return !Boolean(this._session.lastTextModelChanges.length);
370370
}
371371

372372
hasFocus(): boolean {

0 commit comments

Comments
 (0)