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
@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.gui.abc;
import com.jpexs.decompiler.flash.abc.ABC;
import com.jpexs.decompiler.flash.configuration.Configuration;
import com.jpexs.decompiler.flash.gui.View;
import com.jpexs.decompiler.flash.helpers.GraphTextWriter;
import java.awt.AlphaComposite;
import java.awt.Color;
@@ -58,7 +59,7 @@ public class TraitsList extends JList<Object> implements ListSelectionListener {
this.abcPanel = abcPanel;
setCellRenderer(new IconListRenderer());
//setUI(new BasicListUI());
if (Configuration.setControlsBackgroundToWhite.get()) {
if (View.isOceanic()) {
setBackground(Color.white);
}
}
@@ -78,7 +78,7 @@ public class UsageFrame extends AppDialog implements MouseListener {
usageListModel.addElement(u);
}
usageList = new JList<>(usageListModel);
if (Configuration.setControlsBackgroundToWhite.get()) {
if (View.isOceanic()) {
usageList.setBackground(Color.white);
}
gotoButton.addActionListener(this::gotoButtonActionPerformed);