diff options
| author | a1xd <[email protected]> | 2020-09-26 20:07:06 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-26 20:07:06 -0400 |
| commit | 02de2ce503fad0b501893d040405922b23814dc9 (patch) | |
| tree | 14cf982742ce4fc52c742b0befd8b256aa0dce94 /grapher/Layouts | |
| parent | Merge pull request #24 from JacobPalecki/GUI (diff) | |
| parent | Hide minimum time attribute (diff) | |
| download | rawaccel-02de2ce503fad0b501893d040405922b23814dc9.tar.xz rawaccel-02de2ce503fad0b501893d040405922b23814dc9.zip | |
Merge pull request #25 from JacobPalecki/GUI
Small fixes and touchups
Diffstat (limited to 'grapher/Layouts')
| -rw-r--r-- | grapher/Layouts/LogarithmLayout.cs | 22 | ||||
| -rw-r--r-- | grapher/Layouts/PowerLayout.cs | 2 |
2 files changed, 1 insertions, 23 deletions
diff --git a/grapher/Layouts/LogarithmLayout.cs b/grapher/Layouts/LogarithmLayout.cs deleted file mode 100644 index e39dbe7..0000000 --- a/grapher/Layouts/LogarithmLayout.cs +++ /dev/null @@ -1,22 +0,0 @@ -using grapher.Models.Serialized; - -namespace grapher.Layouts -{ - public class LogarithmLayout : LayoutBase - { - public LogarithmLayout () - : base() - { - Name = "Logarithm"; - Index = (int)AccelMode.logarithm; - LogarithmicCharts = false; - - AccelLayout = new OptionLayout(true, Scale); - CapLayout = new OptionLayout(true, Cap); - WeightLayout = new OptionLayout(true, Weight); - OffsetLayout = new OptionLayout(true, Offset); - LimExpLayout = new OptionLayout(false, string.Empty); - MidpointLayout = new OptionLayout(false, string.Empty); - } - } -} diff --git a/grapher/Layouts/PowerLayout.cs b/grapher/Layouts/PowerLayout.cs index 5391506..e12ac4a 100644 --- a/grapher/Layouts/PowerLayout.cs +++ b/grapher/Layouts/PowerLayout.cs @@ -11,7 +11,7 @@ namespace grapher.Layouts Index = (int)AccelMode.power; LogarithmicCharts = false; - AccelLayout = new OptionLayout(true, Acceleration); + AccelLayout = new OptionLayout(true, Scale); CapLayout = new OptionLayout(true, Cap); WeightLayout = new OptionLayout(true, Weight); OffsetLayout = new OptionLayout(true, Offset); |