Skip to content

Commit

Permalink
hotkey button: use default font
Browse files Browse the repository at this point in the history
  • Loading branch information
Broooklyn authored and Adam- committed Jan 31, 2021
1 parent ca56ef1 commit cdba2ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
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
{
Expand All @@ -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()
{
Expand Down

0 comments on commit cdba2ef

Please sign in to comment.