diff options
| author | Jacob Palecki <[email protected]> | 2020-09-26 13:43:13 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-26 13:43:13 -0700 |
| commit | 0ce82f408b9c182cde407fcb0d3c98223c314ea9 (patch) | |
| tree | 050b32e2a1bf43f8bcff9e5600c50fee380a7cc0 /grapher/Models/AccelGUIFactory.cs | |
| parent | FAQ has conversion instructions (diff) | |
| download | rawaccel-0ce82f408b9c182cde407fcb0d3c98223c314ea9.tar.xz rawaccel-0ce82f408b9c182cde407fcb0d3c98223c314ea9.zip | |
Scale Last Mouse Move by poll rate
Diffstat (limited to 'grapher/Models/AccelGUIFactory.cs')
| -rw-r--r-- | grapher/Models/AccelGUIFactory.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/grapher/Models/AccelGUIFactory.cs b/grapher/Models/AccelGUIFactory.cs index d986369..469fcf7 100644 --- a/grapher/Models/AccelGUIFactory.cs +++ b/grapher/Models/AccelGUIFactory.cs @@ -1,4 +1,5 @@ using grapher.Models.Calculations; +using grapher.Models.Mouse; using grapher.Models.Options; using grapher.Models.Serialized; using System.Windows.Forms; @@ -289,6 +290,8 @@ namespace grapher.Models showLastMouseMoveMenuItem, showVelocityGainToolStripMenuItem); + var mouseWatcher = new MouseWatcher(form, mouseLabel, accelCharts, accelCalculator.PollRate); + return new AccelGUI( form, accelCalculator, @@ -296,7 +299,7 @@ namespace grapher.Models settings, applyOptions, writeButton, - mouseLabel, + mouseWatcher, scaleMenuItem); } |