mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04: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