mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): do not toggle layers on double click of opacity popover
This commit is contained in:
parent
8b6a283eab
commit
209ddc2037
@ -55,7 +55,7 @@ const CALayerOpacity = ({ layerId }: Props) => {
|
|||||||
onDoubleClick={stopPropagation}
|
onDoubleClick={stopPropagation}
|
||||||
/>
|
/>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent>
|
<PopoverContent onDoubleClick={stopPropagation}>
|
||||||
<PopoverArrow />
|
<PopoverArrow />
|
||||||
<PopoverBody>
|
<PopoverBody>
|
||||||
<Flex direction="column" gap={2}>
|
<Flex direction="column" gap={2}>
|
||||||
|
@ -61,7 +61,7 @@ const IILayerOpacity = ({ layerId }: Props) => {
|
|||||||
onDoubleClick={stopPropagation}
|
onDoubleClick={stopPropagation}
|
||||||
/>
|
/>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent>
|
<PopoverContent onDoubleClick={stopPropagation}>
|
||||||
<PopoverArrow />
|
<PopoverArrow />
|
||||||
<PopoverBody>
|
<PopoverBody>
|
||||||
<Flex direction="column" gap={2}>
|
<Flex direction="column" gap={2}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user