White background only on oceanic skin

This commit is contained in:
Jindra Petřík
2021-04-07 19:38:25 +02:00
parent 8890a327da
commit 211aa60011
18 changed files with 75 additions and 52 deletions

View File

@@ -72,7 +72,7 @@ public class FilesChangedDialog extends AppDialog {
label.setBorder(new EmptyBorder(10, 10, 10, 10));
cnt.add(label, BorderLayout.NORTH);
filesList = new JList<String>(listModel);
if (Configuration.setControlsBackgroundToWhite.get()) {
if (View.isOceanic()) {
filesList.setBackground(Color.white);
}
cnt.add(new FasterScrollPane(filesList), BorderLayout.CENTER);