diff options
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); } |