ui: Local fields
This commit is contained in:
@@ -57,9 +57,6 @@ public class MaterialTab extends JLabel
|
||||
private static final Border UNSELECTED_BORDER = BorderFactory
|
||||
.createEmptyBorder(5, 10, 5, 10);
|
||||
|
||||
/* The tab's containing group */
|
||||
private final MaterialTabGroup group;
|
||||
|
||||
/* The tab's associated content display */
|
||||
@Getter
|
||||
private final JComponent content;
|
||||
@@ -75,7 +72,7 @@ public class MaterialTab extends JLabel
|
||||
{
|
||||
super(string);
|
||||
|
||||
this.group = group;
|
||||
/* The tab's containing group */
|
||||
this.content = content;
|
||||
|
||||
if (selected)
|
||||
|
||||
@@ -91,8 +91,6 @@ public class OverlayRenderer extends MouseAdapter implements KeyListener
|
||||
private boolean isResizeable;
|
||||
private OverlayBounds snapCorners;
|
||||
|
||||
// Overlay Fonts
|
||||
private Font clientFont;
|
||||
private Font standardFont;
|
||||
private Font tooltipFont;
|
||||
private Font interfaceFont;
|
||||
@@ -115,10 +113,11 @@ public class OverlayRenderer extends MouseAdapter implements KeyListener
|
||||
|
||||
private void updateConfig()
|
||||
{
|
||||
this.clientFont = runeLiteConfig.clientFont();
|
||||
this.standardFont = FontManager.getFontFromType(this.clientFont, runeLiteConfig.fontType());
|
||||
this.tooltipFont = FontManager.getFontFromType(this.clientFont, runeLiteConfig.tooltipFontType());
|
||||
this.interfaceFont = FontManager.getFontFromType(this.clientFont, runeLiteConfig.interfaceFontType());
|
||||
// Overlay Fonts
|
||||
Font clientFont = runeLiteConfig.clientFont();
|
||||
this.standardFont = FontManager.getFontFromType(clientFont, runeLiteConfig.fontType());
|
||||
this.tooltipFont = FontManager.getFontFromType(clientFont, runeLiteConfig.tooltipFontType());
|
||||
this.interfaceFont = FontManager.getFontFromType(clientFont, runeLiteConfig.interfaceFontType());
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
|
||||
Reference in New Issue
Block a user