White background only on oceanic skin

This commit is contained in:
Jindra Petřík
2021-11-19 13:03:23 +01:00
parent 8890a327da
commit 211aa60011
18 changed files with 75 additions and 52 deletions
@@ -469,7 +469,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
detailPanel.setLayout(new CardLayout());
JPanel whitePanel = new JPanel();
if (Configuration.setControlsBackgroundToWhite.get()) {
if (View.isOceanic()) {
whitePanel.setBackground(Color.white);
}
detailPanel.add(whitePanel, DETAILCARDEMPTYPANEL);