summaryrefslogtreecommitdiff
path: root/grapher
diff options
context:
space:
mode:
Diffstat (limited to 'grapher')
-rw-r--r--grapher/Layouts/LayoutBase.cs1
-rw-r--r--grapher/Layouts/NaturalLayout.cs2
-rw-r--r--grapher/Models/Options/AccelTypeOptions.cs4
3 files changed, 4 insertions, 3 deletions
diff --git a/grapher/Layouts/LayoutBase.cs b/grapher/Layouts/LayoutBase.cs
index 7baf5ed..d9d85b1 100644
--- a/grapher/Layouts/LayoutBase.cs
+++ b/grapher/Layouts/LayoutBase.cs
@@ -17,6 +17,7 @@ namespace grapher.Layouts
public const string Smooth = "Smooth";
public const string Gain = "Gain";
public const string GrowthRate = "Growth Rate";
+ public const string DecayRate = "Decay Rate";
public LayoutBase()
{
diff --git a/grapher/Layouts/NaturalLayout.cs b/grapher/Layouts/NaturalLayout.cs
index 9fc54fc..070a249 100644
--- a/grapher/Layouts/NaturalLayout.cs
+++ b/grapher/Layouts/NaturalLayout.cs
@@ -12,7 +12,7 @@ namespace grapher.Layouts
LogarithmicCharts = false;
GainSwitchOptionLayout = new OptionLayout(true, Gain);
- AccelLayout = new OptionLayout(true, Acceleration);
+ AccelLayout = new OptionLayout(true, DecayRate);
ScaleLayout = new OptionLayout(false, string.Empty);
CapLayout = new OptionLayout(false, string.Empty);
WeightLayout = new OptionLayout(true, Weight);
diff --git a/grapher/Models/Options/AccelTypeOptions.cs b/grapher/Models/Options/AccelTypeOptions.cs
index 768d17d..a271ea4 100644
--- a/grapher/Models/Options/AccelTypeOptions.cs
+++ b/grapher/Models/Options/AccelTypeOptions.cs
@@ -246,7 +246,7 @@ namespace grapher
{
if (args.mode == AccelMode.natural)
{
- args.accelNatural = Acceleration.Field.Data;
+ args.decayRate = Acceleration.Field.Data;
}
else if (args.mode == AccelMode.motivity)
{
@@ -349,7 +349,7 @@ namespace grapher
}
else if (args.mode == AccelMode.natural)
{
- return args.accelNatural;
+ return args.decayRate;
}
else
{