summaryrefslogtreecommitdiff
path: root/grapher/Layouts/PowerLayout.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-04-05 23:36:26 -0700
committerJacob Palecki <[email protected]>2021-04-05 23:36:26 -0700
commit019665015ab30893209ab49fea352405b144f0f8 (patch)
tree92b929da43466d8c4b3b3fb2d9c53daf8eb0d05a /grapher/Layouts/PowerLayout.cs
parentLUT GUI fixes (diff)
downloadrawaccel-019665015ab30893209ab49fea352405b144f0f8.tar.xz
rawaccel-019665015ab30893209ab49fea352405b144f0f8.zip
Add gain switch
Diffstat (limited to 'grapher/Layouts/PowerLayout.cs')
-rw-r--r--grapher/Layouts/PowerLayout.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/grapher/Layouts/PowerLayout.cs b/grapher/Layouts/PowerLayout.cs
index ed40d67..8304ccf 100644
--- a/grapher/Layouts/PowerLayout.cs
+++ b/grapher/Layouts/PowerLayout.cs
@@ -1,6 +1,4 @@
-using grapher.Models.Serialized;
-
-namespace grapher.Layouts
+namespace grapher.Layouts
{
public class PowerLayout : LayoutBase
{
@@ -11,6 +9,7 @@ namespace grapher.Layouts
Index = (int)AccelMode.power;
LogarithmicCharts = false;
+ GainSwitchOptionLayout = new OptionLayout(true, Gain);
AccelLayout = new OptionLayout(false, string.Empty);
ScaleLayout = new OptionLayout(true, Scale);
CapLayout = new OptionLayout(true, Cap);