summaryrefslogtreecommitdiff
path: root/grapher/Layouts/DefaultLayout.cs
diff options
context:
space:
mode:
authorJacobPalecki <[email protected]>2020-08-31 23:03:46 -0700
committerGitHub <[email protected]>2020-08-31 23:03:46 -0700
commit471fe599bab6ba0632ddd1dacd20c7fc42db0eee (patch)
tree90a82ee14dbb112621657efbd2523ed35f59d154 /grapher/Layouts/DefaultLayout.cs
parentMerge pull request #16 from JacobPalecki/Misc (diff)
parentadd independent xy accel to driver (diff)
downloadrawaccel-471fe599bab6ba0632ddd1dacd20c7fc42db0eee.tar.xz
rawaccel-471fe599bab6ba0632ddd1dacd20c7fc42db0eee.zip
Merge pull request #17 from a1xd/indep
Indep
Diffstat (limited to 'grapher/Layouts/DefaultLayout.cs')
-rw-r--r--grapher/Layouts/DefaultLayout.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/grapher/Layouts/DefaultLayout.cs b/grapher/Layouts/DefaultLayout.cs
index 095afdf..42841d5 100644
--- a/grapher/Layouts/DefaultLayout.cs
+++ b/grapher/Layouts/DefaultLayout.cs
@@ -1,10 +1,12 @@
-using System;
+using grapher.Models.Serialized;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
+
namespace grapher.Layouts
{
public class DefaultLayout : LayoutBase
@@ -13,7 +15,7 @@ namespace grapher.Layouts
: base()
{
Name = "Default";
- Index = 0;
+ Index = (int)AccelMode.noaccel;
ShowOptions = new bool[] { true, true, true, true };
OptionNames = new string[] { Offset, Acceleration, $"{Limit}\\{Exponent}", Midpoint };
ButtonEnabled = false;