Skip to content

Commit

Permalink
fix(edgeless): only clear surface selection when switching tool (#8753)
Browse files Browse the repository at this point in the history
  • Loading branch information
doouding committed Nov 18, 2024
1 parent 9e2af17 commit 216b881
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export class ToolController extends GfxExtension {
return;
}

this.gfx.selection.clear();
this.gfx.selection.set({ elements: [] });

this.currentTool$.peek()?.deactivate();
this.currentToolName$.value = toolNameStr;
Expand Down

0 comments on commit 216b881

Please sign in to comment.