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
@@ -42,7 +42,7 @@ public class DocsPanel extends JPanel implements DocsListener {
add(sp, BorderLayout.CENTER);
textDisplay.setContentType("text/html");
textDisplay.setFocusable(false);
if (Configuration.setControlsBackgroundToWhite.get()) {
if (View.isOceanic()) {
textDisplay.setBackground(Color.white);
}
}