MCPcopy Create free account
hub / github.com/Shitanshukumar607/Drawspace / handleShapeSelect

Function handleShapeSelect

components/CanvasComponent.tsx:118–121  ·  view source on GitHub ↗
(id: string, type: TransformerSelectionType)

Source from the content-addressed store, hash-verified

116 };
117
118 const handleShapeSelect = (id: string, type: TransformerSelectionType) => {
119 if (!isPointerTool) return;
120 setSelectedTransformableShape({ id, type });
121 };
122
123 const drawingTool =
124 selectedTool === "pen" || selectedTool === "eraser"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected