hotkey button: use default font
This commit is contained in:
@@ -32,6 +32,7 @@ import javax.swing.JButton;
|
||||
import lombok.Getter;
|
||||
import net.runelite.client.config.Keybind;
|
||||
import net.runelite.client.config.ModifierlessKeybind;
|
||||
import net.runelite.client.ui.FontManager;
|
||||
|
||||
class HotkeyButton extends JButton
|
||||
{
|
||||
@@ -40,6 +41,7 @@ class HotkeyButton extends JButton
|
||||
|
||||
public HotkeyButton(Keybind value, boolean modifierless)
|
||||
{
|
||||
setFont(FontManager.getDefaultFont().deriveFont(12.f));
|
||||
setValue(value);
|
||||
addMouseListener(new MouseAdapter()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user