mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-16 08:52:27 +00:00
White background only on oceanic skin
This commit is contained in:
@@ -117,7 +117,7 @@ public class DumpTree extends JTree {
|
||||
public class DumpTreeCellRenderer extends DefaultTreeCellRenderer {
|
||||
|
||||
public DumpTreeCellRenderer() {
|
||||
if (Configuration.setControlsBackgroundToWhite.get()) {
|
||||
if (View.isOceanic()) {
|
||||
setUI(new BasicLabelUI());
|
||||
setOpaque(false);
|
||||
setBackgroundNonSelectionColor(Color.white);
|
||||
@@ -236,7 +236,7 @@ public class DumpTree extends JTree {
|
||||
this.mainPanel = mainPanel;
|
||||
setCellRenderer(new DumpTreeCellRenderer());
|
||||
setRootVisible(false);
|
||||
if (Configuration.setControlsBackgroundToWhite.get()) {
|
||||
if (View.isOceanic()) {
|
||||
setBackground(Color.white);
|
||||
setUI(new BasicTreeUI() {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user