* fix background issues on Mac
This commit is contained in:
parent
a976794614
commit
1059c00612
|
@ -294,6 +294,10 @@ class HistoryDialog extends JDialog {
|
||||||
JScrollPane scrollPane = new JScrollPane(component);
|
JScrollPane scrollPane = new JScrollPane(component);
|
||||||
scrollPane.setBorder(new CompoundBorder(new TitledBorder(title), scrollPane.getBorder()));
|
scrollPane.setBorder(new CompoundBorder(new TitledBorder(title), scrollPane.getBorder()));
|
||||||
|
|
||||||
|
if (isMacApp()) {
|
||||||
|
scrollPane.setOpaque(false);
|
||||||
|
}
|
||||||
|
|
||||||
return scrollPane;
|
return scrollPane;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue