summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUI.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-26 13:43:13 -0700
committerJacob Palecki <[email protected]>2020-09-26 13:43:13 -0700
commit0ce82f408b9c182cde407fcb0d3c98223c314ea9 (patch)
tree050b32e2a1bf43f8bcff9e5600c50fee380a7cc0 /grapher/Models/AccelGUI.cs
parentFAQ has conversion instructions (diff)
downloadrawaccel-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.cs4
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);