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:
parent
4e33ade287
commit
e1f9a93c40
|
|
@ -1157,7 +1157,6 @@ export class Recorder {
|
|||
}
|
||||
|
||||
clearHighlight() {
|
||||
this._currentTool.cleanup?.();
|
||||
this.updateHighlight(null, false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue