ui: fixed green tint in plugin list
This commit is contained in:
@@ -59,7 +59,7 @@ public class ObsidianSkin extends SubstanceSkin
|
||||
ObsidianSkin()
|
||||
{
|
||||
final SubstanceSkin.ColorSchemes schemes = SubstanceSkin
|
||||
.getColorSchemes(getClass().getResourceAsStream(NAME + ".colorschemes"));
|
||||
.getColorSchemes(getClass().getResource(NAME + ".colorschemes"));
|
||||
final SubstanceColorScheme activeScheme = schemes.get("RuneLite Active");
|
||||
final SubstanceColorScheme enabledScheme = schemes.get("RuneLite Enabled");
|
||||
|
||||
@@ -119,7 +119,7 @@ public class ObsidianSkin extends SubstanceSkin
|
||||
.get("RuneLite Decorations Watermark");
|
||||
|
||||
this.registerDecorationAreaSchemeBundle(decorationsSchemeBundle, decorationsWatermarkScheme,
|
||||
DecorationAreaType.TOOLBAR, DecorationAreaType.CONTROL_PANE, DecorationAreaType.FOOTER);
|
||||
DecorationAreaType.TOOLBAR, DecorationAreaType.GENERAL, DecorationAreaType.FOOTER);
|
||||
|
||||
final SubstanceColorSchemeBundle headerSchemeBundle = new SubstanceColorSchemeBundle(activeScheme,
|
||||
enabledScheme, enabledScheme);
|
||||
|
||||
@@ -218,7 +218,7 @@ public class SwingUtil
|
||||
button.setSize(scaledImage.getWidth(), scaledImage.getHeight());
|
||||
button.setToolTipText(navigationButton.getTooltip());
|
||||
button.setIcon(new ImageIcon(scaledImage));
|
||||
button.putClientProperty(SubstanceSynapse.BACKGROUND_APPEARANCE_STRATEGY, SubstanceSlices.BackgroundAppearanceStrategy.FLAT);
|
||||
button.putClientProperty(SubstanceSynapse.FLAT_LOOK, Boolean.TRUE);
|
||||
button.setFocusable(false);
|
||||
button.addActionListener(e ->
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user