mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-05 05:44:58 -05:00
fix(ui): show color picker when using rect tool
This commit is contained in:
@@ -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 (
|
||||
<Flex w="full" gap={2}>
|
||||
|
||||
Reference in New Issue
Block a user