diff options
| author | a1xd <[email protected]> | 2020-12-05 01:21:03 -0500 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-12-05 01:21:03 -0500 |
| commit | 2c7c24ee1513616dc6260849bf97340d8484b6b4 (patch) | |
| tree | 2210c90268748f685297313e0541862bf6894aa0 /grapher/Models/AccelGUIFactory.cs | |
| parent | add changes from review (diff) | |
| download | rawaccel-2c7c24ee1513616dc6260849bf97340d8484b6b4.tar.xz rawaccel-2c7c24ee1513616dc6260849bf97340d8484b6b4.zip | |
add more changes from review
improve version error messages
revert poll time changes
add range validation after text parse
Diffstat (limited to 'grapher/Models/AccelGUIFactory.cs')
| -rw-r--r-- | grapher/Models/AccelGUIFactory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grapher/Models/AccelGUIFactory.cs b/grapher/Models/AccelGUIFactory.cs index d789593..901a1b5 100644 --- a/grapher/Models/AccelGUIFactory.cs +++ b/grapher/Models/AccelGUIFactory.cs @@ -105,8 +105,8 @@ namespace grapher.Models Label mouseLabel) { var accelCalculator = new AccelCalculator( - new Field(dpiTextBox.TextBox, form, Constants.DefaultDPI), - new Field(pollRateTextBox.TextBox, form, Constants.DefaultPollRate)); + new Field(dpiTextBox.TextBox, form, Constants.DefaultDPI, 1), + new Field(pollRateTextBox.TextBox, form, Constants.DefaultPollRate, 1)); var accelCharts = new AccelCharts( form, |