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

Function handleStagePointerDown

components/CanvasComponent.tsx:162–170  ·  view source on GitHub ↗
(
    e: KonvaEventObject<MouseEvent | TouchEvent>
  )

Source from the content-addressed store, hash-verified

160 : [];
161
162 const handleStagePointerDown = (
163 e: KonvaEventObject<MouseEvent | TouchEvent>
164 ) => {
165 if (isPointerTool && e.target === stageRef.current) {
166 setSelectedTransformableShape(null);
167 setActiveNode(null);
168 }
169 drawingTool?.handlePointerDown(e);
170 };
171
172 const handleStagePointerMove = (
173 e: KonvaEventObject<MouseEvent | TouchEvent>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected