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

Function updateRectangle

hooks/DrawRectangleTool.ts:86–92  ·  view source on GitHub ↗
(
    id: string,
    updates: Partial<RectangleShapeWithProps>
  )

Source from the content-addressed store, hash-verified

84 };
85
86 const updateRectangle = (
87 id: string,
88 updates: Partial<RectangleShapeWithProps>
89 ) => {
90 saveToHistory();
91 updateRectangleInStore(id, updates);
92 };
93
94 return {
95 rectangles,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected