MCPcopy
hub / github.com/graphif/project-graph / handleChangeColor

Function handleChangeColor

app/src/components/toolbar-content.tsx:106–109  ·  view source on GitHub ↗
(color: Color)

Source from the content-addressed store, hash-verified

104 }, []);
105
106 const handleChangeColor = (color: Color) => {
107 Settings.autoFillPenStrokeColor = color.toArray();
108 setCurrentDrawColor(color.clone());
109 };
110
111 return (
112 <div className="flex max-w-64 overflow-x-auto">

Callers 1

DrawingColorLineFunction · 0.85

Calls 2

toArrayMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected