mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 04:11:15 +00:00
White background only on oceanic skin
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user