cherry-pick(#33822): fix(codegen): do not reset current tool upon clearing highlight

This commit is contained in:
Dmitry Gozman 2024-12-03 17:25:14 +00:00
parent 008722b2d9
commit f92b2339fe

View file

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