summaryrefslogtreecommitdiff
path: root/grapher/Layouts/PowerLayout.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-07-31 12:20:11 -0700
committerJacob Palecki <[email protected]>2020-07-31 12:20:11 -0700
commit6537db04f7e717eda2f21e007cdba7e13b7f559e (patch)
treeefb65bf3f305f376ea75f4f687b08bf8998c020f /grapher/Layouts/PowerLayout.cs
parentAdd class for storing settings from file (diff)
parentMerge pull request #6 from a1xd/st-refactor (diff)
downloadrawaccel-6537db04f7e717eda2f21e007cdba7e13b7f559e.tar.xz
rawaccel-6537db04f7e717eda2f21e007cdba7e13b7f559e.zip
Show no settings for off, remove unused class for PR
Diffstat (limited to 'grapher/Layouts/PowerLayout.cs')
-rw-r--r--grapher/Layouts/PowerLayout.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/grapher/Layouts/PowerLayout.cs b/grapher/Layouts/PowerLayout.cs
index 6d4f5d7..da02cf5 100644
--- a/grapher/Layouts/PowerLayout.cs
+++ b/grapher/Layouts/PowerLayout.cs
@@ -9,11 +9,12 @@ namespace grapher.Layouts
public class PowerLayout : LayoutBase
{
public PowerLayout()
+ : base()
{
Name = "Power";
Index = 6;
- Show = new bool[] { true, true, false };
- OptionNames = new string[] { Scale, Exponent, string.Empty };
+ ShowOptions = new bool[] { true, true, true, false };
+ OptionNames = new string[] { Offset, Scale, Exponent, string.Empty };
}
}
}