diff options
| author | Jacob Palecki <[email protected]> | 2021-04-06 18:04:28 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-04-06 18:04:28 -0700 |
| commit | 758de1d236f591de1d8b2fba4c58bfd8d5bbd26e (patch) | |
| tree | b44ae5415e603e351d4343e737a10d2a92e47276 /grapher | |
| parent | Remove cap and offset style switches (diff) | |
| download | rawaccel-758de1d236f591de1d8b2fba4c58bfd8d5bbd26e.tar.xz rawaccel-758de1d236f591de1d8b2fba4c58bfd8d5bbd26e.zip | |
Rename accelMotivity to growthRate
Diffstat (limited to 'grapher')
| -rw-r--r-- | grapher/Layouts/LayoutBase.cs | 1 | ||||
| -rw-r--r-- | grapher/Layouts/MotivityLayout.cs | 2 | ||||
| -rw-r--r-- | grapher/Models/Options/AccelTypeOptions.cs | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/grapher/Layouts/LayoutBase.cs b/grapher/Layouts/LayoutBase.cs index 6343ca2..7baf5ed 100644 --- a/grapher/Layouts/LayoutBase.cs +++ b/grapher/Layouts/LayoutBase.cs @@ -16,6 +16,7 @@ namespace grapher.Layouts public const string Weight = "Weight"; public const string Smooth = "Smooth"; public const string Gain = "Gain"; + public const string GrowthRate = "Growth Rate"; public LayoutBase() { diff --git a/grapher/Layouts/MotivityLayout.cs b/grapher/Layouts/MotivityLayout.cs index d108d16..e9c81f4 100644 --- a/grapher/Layouts/MotivityLayout.cs +++ b/grapher/Layouts/MotivityLayout.cs @@ -17,7 +17,7 @@ namespace grapher.Layouts LogarithmicCharts = true; GainSwitchOptionLayout = new OptionLayout(true, Gain); - AccelLayout = new OptionLayout(true, Acceleration); + AccelLayout = new OptionLayout(true, GrowthRate); ScaleLayout = new OptionLayout(false, string.Empty); CapLayout = new OptionLayout(false, string.Empty); WeightLayout = new OptionLayout(false, string.Empty); diff --git a/grapher/Models/Options/AccelTypeOptions.cs b/grapher/Models/Options/AccelTypeOptions.cs index 60bb53d..768d17d 100644 --- a/grapher/Models/Options/AccelTypeOptions.cs +++ b/grapher/Models/Options/AccelTypeOptions.cs @@ -250,7 +250,7 @@ namespace grapher } else if (args.mode == AccelMode.motivity) { - args.accelMotivity = Acceleration.Field.Data; + args.growthRate = Acceleration.Field.Data; } else { @@ -345,7 +345,7 @@ namespace grapher { if (args.mode == AccelMode.motivity) { - return args.accelMotivity; + return args.growthRate; } else if (args.mode == AccelMode.natural) { |