fix(ui): do not toggle layers on double click of opacity popover

This commit is contained in:
psychedelicious 2024-05-02 21:35:30 +10:00 committed by Kent Keirsey
parent 8b6a283eab
commit 209ddc2037
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ const CALayerOpacity = ({ layerId }: Props) => {
onDoubleClick={stopPropagation}
/>
</PopoverTrigger>
<PopoverContent>
<PopoverContent onDoubleClick={stopPropagation}>
<PopoverArrow />
<PopoverBody>
<Flex direction="column" gap={2}>

View File

@ -61,7 +61,7 @@ const IILayerOpacity = ({ layerId }: Props) => {
onDoubleClick={stopPropagation}
/>
</PopoverTrigger>
<PopoverContent>
<PopoverContent onDoubleClick={stopPropagation}>
<PopoverArrow />
<PopoverBody>
<Flex direction="column" gap={2}>