summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUI.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-10-08 02:08:27 -0400
committera1xd <[email protected]>2020-10-08 06:36:50 -0400
commit37d2cb7d3ed25862683ef807712c7d50f71e8493 (patch)
tree3852439d718d36a79ebf8b778e82ee5c06461eeb /grapher/Models/AccelGUI.cs
parentadd toggle button + save gui settings on close (diff)
downloadrawaccel-37d2cb7d3ed25862683ef807712c7d50f71e8493.tar.xz
rawaccel-37d2cb7d3ed25862683ef807712c7d50f71e8493.zip
add scroll to charts
Diffstat (limited to 'grapher/Models/AccelGUI.cs')
-rw-r--r--grapher/Models/AccelGUI.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/grapher/Models/AccelGUI.cs b/grapher/Models/AccelGUI.cs
index c561b23..50207b2 100644
--- a/grapher/Models/AccelGUI.cs
+++ b/grapher/Models/AccelGUI.cs
@@ -35,6 +35,7 @@ namespace grapher
Settings = settings;
Settings.Startup();
RefreshOnRead(Settings.RawAccelSettings.AccelerationSettings);
+ AccelForm.DoResize();
DefaultButtonFont = WriteButton.Font;
SmallButtonFont = new Font(WriteButton.Font.Name, WriteButton.Font.Size * 0.666f);
@@ -151,6 +152,7 @@ namespace grapher
public void UpdateShownActiveValues(DriverSettings args)
{
+ AccelForm.ResetAutoScroll();
AccelCharts.ShowActive(args);
ApplyOptions.SetActiveValues(args);
}