mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-31 12:16:22 +01:00
the second show widget should also take in value true
This commit is contained in:
@@ -307,7 +307,7 @@ export class InlineChatController implements IEditorContribution {
|
||||
}
|
||||
});
|
||||
|
||||
this._showWidget(false);
|
||||
this._showWidget(true);
|
||||
|
||||
this._sessionStore.add(this._editor.onDidChangeModel((e) => {
|
||||
const msg = this._activeSession?.lastExchange
|
||||
|
||||
@@ -366,7 +366,7 @@ export class LiveStrategy extends EditModeStrategy {
|
||||
}
|
||||
|
||||
override needsMargin(): boolean {
|
||||
return Boolean(this._session.lastTextModelChanges.length);
|
||||
return !Boolean(this._session.lastTextModelChanges.length);
|
||||
}
|
||||
|
||||
hasFocus(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user