Slider: improved thumb hover and pressed colors

Also changed auto-inverse threshold from 50% to 65% for increase and 35% for decrease, because this gives much better results for slider hover and pressed colors. This does not change other colors in core themes, but few colors in some IntelliJ themes (usually checkbox hover/pressed).
This commit is contained in:
Karl Tauber
2021-01-18 23:20:25 +01:00
parent 0b880aa335
commit fdc43fc0d3
6 changed files with 11 additions and 10 deletions

View File

@@ -13,6 +13,7 @@ FlatLaf Change Log
buttons.
- Slider: Support per component custom thumb and track colors via
`JSlider.setForeground(Color)` and `JSlider.setBackground(Color)`.
- Slider: Improved thumb hover and pressed colors.
- TextComponent: Clip placeholder text if it does not fit into visible area. (PR
#229)
- macOS: Improved font rendering on macOS when using JetBrains Runtime. (PRs