mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -94,7 +94,9 @@ public class DarculaButtonUI extends BasicButtonUI {
|
||||
public void update(Graphics g, JComponent c) {
|
||||
super.update(g, c);
|
||||
if (((JButton)c).isDefaultButton() && !SystemInfo.isMac) {
|
||||
c.setFont(c.getFont().deriveFont(Font.BOLD));
|
||||
if (!c.getFont().isBold()) {
|
||||
c.setFont(c.getFont().deriveFont(Font.BOLD));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user