Skip to content

Commit a8b7239

Browse files
authored
Decreasing the time to 100ms in RunOnceScheduler for inline chat sparkle (#196284)
decreasing the time
1 parent 80d30b5 commit a8b7239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class InlineChatDecorationsContribution extends Disposable implements IEd
6060
return;
6161
}
6262
const editor = this._editor;
63-
const decorationUpdateScheduler = new RunOnceScheduler(() => this._onSelectionOrContentChanged(editor), 200);
63+
const decorationUpdateScheduler = new RunOnceScheduler(() => this._onSelectionOrContentChanged(editor), 100);
6464
this._localToDispose.add(decorationUpdateScheduler);
6565
this._localToDispose.add(this._editor.onDidChangeCursorSelection(() => decorationUpdateScheduler.schedule()));
6666
this._localToDispose.add(this._editor.onDidChangeModelContent(() => decorationUpdateScheduler.schedule()));

0 commit comments

Comments
 (0)