summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUIFactory.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-09-26 20:07:06 -0400
committerGitHub <[email protected]>2020-09-26 20:07:06 -0400
commit02de2ce503fad0b501893d040405922b23814dc9 (patch)
tree14cf982742ce4fc52c742b0befd8b256aa0dce94 /grapher/Models/AccelGUIFactory.cs
parentMerge pull request #24 from JacobPalecki/GUI (diff)
parentHide minimum time attribute (diff)
downloadrawaccel-02de2ce503fad0b501893d040405922b23814dc9.tar.xz
rawaccel-02de2ce503fad0b501893d040405922b23814dc9.zip
Merge pull request #25 from JacobPalecki/GUI
Small fixes and touchups
Diffstat (limited to 'grapher/Models/AccelGUIFactory.cs')
-rw-r--r--grapher/Models/AccelGUIFactory.cs5
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);
}