fix(codegen): do not reset current tool upon clearing highlight

This breaks when VSCode updates the highlight during recording.
The problem was exposed by #33632.
This commit is contained in:
Dmitry Gozman 2024-11-29 15:42:56 +00:00
parent 4e33ade287
commit e1f9a93c40

View file

@ -1157,7 +1157,6 @@ export class Recorder {
}
clearHighlight() {
this._currentTool.cleanup?.();
this.updateHighlight(null, false);
}