From 4aa2f3ed741dcbd39233e125a34cac8163267d8d Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Tue, 1 Sep 2020 02:39:09 -0700 Subject: Move constants to central class --- grapher/Form1.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grapher/Form1.cs') diff --git a/grapher/Form1.cs b/grapher/Form1.cs index f496293..93b841c 100644 --- a/grapher/Form1.cs +++ b/grapher/Form1.cs @@ -142,8 +142,8 @@ namespace grapher weight); var accelCalculator = new AccelCalculator( - new Field(DPITextBox.TextBox, this, AccelCalculator.DefaultDPI), - new Field(PollRateTextBox.TextBox, this, AccelCalculator.DefaultPollRate)); + new Field(DPITextBox.TextBox, this, Constants.DefaultDPI), + new Field(PollRateTextBox.TextBox, this, Constants.DefaultPollRate)); var settings = new SettingsManager( activeAccel, -- cgit v1.2.3