From bcacf971e4cace869243edd5fff3fdb435d48c44 Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Thu, 8 Oct 2020 23:08:11 -0400 Subject: add magic number to constants --- grapher/Models/AccelGUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grapher/Models/AccelGUI.cs') diff --git a/grapher/Models/AccelGUI.cs b/grapher/Models/AccelGUI.cs index f75d284..dd1e37d 100644 --- a/grapher/Models/AccelGUI.cs +++ b/grapher/Models/AccelGUI.cs @@ -38,7 +38,7 @@ namespace grapher AccelForm.DoResize(); DefaultButtonFont = WriteButton.Font; - SmallButtonFont = new Font(WriteButton.Font.Name, WriteButton.Font.Size * 0.666f); + SmallButtonFont = new Font(WriteButton.Font.Name, WriteButton.Font.Size * Constants.SmallButtonSizeFactor); MouseWatcher = mouseWatcher; -- cgit v1.2.3