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

Function handleStageDragStart

components/CanvasComponent.tsx:216–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214 };
215
216 const handleStageDragStart = () => {
217 if (selectedTool === "hand") {
218 setIsPanning(true);
219 }
220 };
221
222 const handleStageDragEnd = (e: KonvaEventObject<DragEvent>) => {
223 handleStageDragMove(e);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected