Skip to content

Commit d8a19bd

Browse files
authored
Update src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.ts
1 parent 338f491 commit d8a19bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class InlineCompletionsModel extends Disposable {
106106
},
107107
}, (reader, changeSummary) => {
108108
this._forceUpdateExplicitlySignal.read(reader);
109-
const shouldUpdate = this._enabled.read(reader) && this.selectedSuggestItem.read(reader) || this._isActive.read(reader);
109+
const shouldUpdate = (this._enabled.read(reader) && this.selectedSuggestItem.read(reader)) || this._isActive.read(reader);
110110
if (!shouldUpdate) {
111111
this._source.cancelUpdate();
112112
return undefined;

0 commit comments

Comments
 (0)