Skip to content

Commit

Permalink
Fix glitch in selected menu item background (#524)
Browse files Browse the repository at this point in the history
fix glitch in selected menu item background

Signed-off-by: Ivan Morgillo <[email protected]>
  • Loading branch information
hamen authored Aug 7, 2024
1 parent 865155d commit bb2c2e3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public interface FocusableComponentState : InteractiveComponentState {
when {
!isEnabled -> disabled
isPressed && !JewelTheme.isSwingCompatMode -> pressed
isHovered && !JewelTheme.isSwingCompatMode -> hovered
isHovered && isFocused && !JewelTheme.isSwingCompatMode -> hovered
isHovered && !isFocused && !JewelTheme.isSwingCompatMode -> active
isFocused -> focused
isActive -> active
else -> normal
Expand Down

0 comments on commit bb2c2e3

Please sign in to comment.