mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): show color picker when using rect tool
This commit is contained in:
parent
f5d879d8e7
commit
3fbe65bbcf
@ -17,7 +17,7 @@ export const ControlLayersToolbar = memo(() => {
|
|||||||
return tool === 'brush' || tool === 'eraser';
|
return tool === 'brush' || tool === 'eraser';
|
||||||
}, [tool]);
|
}, [tool]);
|
||||||
const withBrushColor = useMemo(() => {
|
const withBrushColor = useMemo(() => {
|
||||||
return tool === 'brush';
|
return tool === 'brush' || tool === 'rect';
|
||||||
}, [tool]);
|
}, [tool]);
|
||||||
return (
|
return (
|
||||||
<Flex w="full" gap={2}>
|
<Flex w="full" gap={2}>
|
||||||
|
Loading…
Reference in New Issue
Block a user