Skip to content

Commit

Permalink
Fix editor background shortcut colour for some non-default LAFs
Browse files Browse the repository at this point in the history
- Add hardcoded fallback similar to the one in apache#7239 related to link colours.
  • Loading branch information
mhalachev committed Apr 10, 2024
1 parent dcd15da commit c125dea
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ private BackgroundActionButton(Action action) {
Color shortcutColor = UIManager.getColor("EditorTab.underlineColor");
if (shortcutColor != null) {
shortcut.setTitleColor(shortcutColor);
} else {
shortcutColor = new Color(0x164B7B);
shortcut.setTitleColor(shortcutColor);
}
Font font = getFont();
if (font != null) {
Expand Down

0 comments on commit c125dea

Please sign in to comment.