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/AccelGUI.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/AccelGUI.cs')
| -rw-r--r-- | grapher/Models/AccelGUI.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grapher/Models/AccelGUI.cs b/grapher/Models/AccelGUI.cs index cc86ff7..1fff4c3 100644 --- a/grapher/Models/AccelGUI.cs +++ b/grapher/Models/AccelGUI.cs @@ -19,7 +19,7 @@ namespace grapher SettingsManager settings, ApplyOptions applyOptions, Button writeButton, - Label mouseMoveLabel, + MouseWatcher mouseWatcher, ToolStripMenuItem scaleMenuItem) { AccelForm = accelForm; @@ -32,7 +32,7 @@ namespace grapher Settings.Startup(); RefreshOnRead(); - MouseWatcher = new MouseWatcher(AccelForm, mouseMoveLabel, AccelCharts); + MouseWatcher = mouseWatcher; ScaleMenuItem.Click += new System.EventHandler(OnScaleMenuItemClick); WriteButton.Click += new System.EventHandler(OnWriteButtonClick); |