diff options
| author | a1xd <[email protected]> | 2020-09-26 20:07:06 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-26 20:07:06 -0400 |
| commit | 02de2ce503fad0b501893d040405922b23814dc9 (patch) | |
| tree | 14cf982742ce4fc52c742b0befd8b256aa0dce94 /grapher/Models/AccelGUIFactory.cs | |
| parent | Merge pull request #24 from JacobPalecki/GUI (diff) | |
| parent | Hide minimum time attribute (diff) | |
| download | rawaccel-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.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); } |