summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUI.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-10-08 23:08:11 -0400
committera1xd <[email protected]>2020-10-08 23:08:11 -0400
commitbcacf971e4cace869243edd5fff3fdb435d48c44 (patch)
tree2da2e0e956c8b92c24260ec9ed4fa3f0681c0a1a /grapher/Models/AccelGUI.cs
parentdisable write button when settings are toggled off (diff)
downloadrawaccel-bcacf971e4cace869243edd5fff3fdb435d48c44.tar.xz
rawaccel-bcacf971e4cace869243edd5fff3fdb435d48c44.zip
add magic number to constants
Diffstat (limited to 'grapher/Models/AccelGUI.cs')
-rw-r--r--grapher/Models/AccelGUI.cs2
1 files changed, 1 insertions, 1 deletions
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;