From 366c460c1f5c57bfb814f0b65385fc91932710f6 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 6 Jun 2024 18:17:49 +1000 Subject: [PATCH] fix(ui): show color picker when using rect tool --- .../features/controlLayers/components/ControlLayersToolbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/controlLayers/components/ControlLayersToolbar.tsx b/invokeai/frontend/web/src/features/controlLayers/components/ControlLayersToolbar.tsx index 37f46b51cd..7f140e2be6 100644 --- a/invokeai/frontend/web/src/features/controlLayers/components/ControlLayersToolbar.tsx +++ b/invokeai/frontend/web/src/features/controlLayers/components/ControlLayersToolbar.tsx @@ -17,7 +17,7 @@ export const ControlLayersToolbar = memo(() => { return tool === 'brush' || tool === 'eraser'; }, [tool]); const withBrushColor = useMemo(() => { - return tool === 'brush'; + return tool === 'brush' || tool === 'rect'; }, [tool]); return (