mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Highlight mask icon when on mask layer
This commit is contained in:
parent
00da042dab
commit
93de78b6e8
@ -98,6 +98,11 @@ const IAICanvasMaskOptions = () => {
|
|||||||
aria-label="Masking Options"
|
aria-label="Masking Options"
|
||||||
tooltip="Masking Options"
|
tooltip="Masking Options"
|
||||||
icon={<FaMask />}
|
icon={<FaMask />}
|
||||||
|
style={
|
||||||
|
layer === 'mask'
|
||||||
|
? { backgroundColor: 'var(--accent-color)' }
|
||||||
|
: { backgroundColor: 'var(--btn-base-color)' }
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</ButtonGroup>
|
</ButtonGroup>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user