paint
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-06-20 15:32:02 +03:30
parent b13a46ec65
commit ca02a621da
23 changed files with 607 additions and 15 deletions
@@ -35,7 +35,7 @@ const ToolsBar = ({ tool, onToolClick }: ToolsBarProps) => {
{tools.map((item, index) => {
const isActive =
item.tool === "rectangle"
? tool === "rectangle" || tool === "line" || tool === "arrow" || tool === "custom-shape"
? tool === "rectangle" || tool === "line" || tool === "arrow" || tool === "custom-shape" || tool === "pencil"
: tool === item.tool;
const iconColor = "black";
const iconVariant: "Bold" | "Outline" | "Broken" | "Bulk" | "Linear" | "TwoTone" | undefined = isActive ? "Bold" : "Outline";