Skip to content

Commit

Permalink
change opacity show condition
Browse files Browse the repository at this point in the history
  • Loading branch information
juandjara committed Mar 7, 2024
1 parent 7c7249f commit 0e9a1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-ui/src/widgets/legend/LegendLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function LegendLayer({
</Tooltip>
)}
</Box>
{showOpacityControl && visible && (
{showOpacityControl && visible && !collapsed && (
<LegendOpacityControl
menuRef={menuAnchorRef}
open={opacityOpen}
Expand Down

0 comments on commit 0e9a1dc

Please sign in to comment.