Skip to content

Commit

Permalink
fix(codegen): do not reset current tool upon clearing highlight
Browse files Browse the repository at this point in the history
This breaks when VSCode updates the highlight during recording.
The problem was exposed by #33632.
  • Loading branch information
dgozman committed Nov 29, 2024
1 parent 4e33ade commit e1f9a93
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,6 @@ export class Recorder {
}

clearHighlight() {
this._currentTool.cleanup?.();
this.updateHighlight(null, false);
}

Expand Down

0 comments on commit e1f9a93

Please sign in to comment.