summaryrefslogtreecommitdiff
path: root/grapher/Models
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-07-10 16:36:26 -0700
committerJacob Palecki <[email protected]>2021-07-10 16:36:26 -0700
commited3ee378aaf7438b688cab7af1235af4eff023ca (patch)
treecf1918964d6bdd2d96c6b769e94e01df95ea399d /grapher/Models
parentRemove unneeded function (diff)
downloadrawaccel-ed3ee378aaf7438b688cab7af1235af4eff023ca.tar.xz
rawaccel-ed3ee378aaf7438b688cab7af1235af4eff023ca.zip
Small bug fixes
Diffstat (limited to 'grapher/Models')
-rw-r--r--grapher/Models/AccelGUIFactory.cs8
-rw-r--r--grapher/Models/Options/AccelTypeOptions.cs3
-rw-r--r--grapher/Models/Options/Option.cs1
3 files changed, 8 insertions, 4 deletions
diff --git a/grapher/Models/AccelGUIFactory.cs b/grapher/Models/AccelGUIFactory.cs
index c584773..7e5ae9b 100644
--- a/grapher/Models/AccelGUIFactory.cs
+++ b/grapher/Models/AccelGUIFactory.cs
@@ -203,7 +203,7 @@ namespace grapher.Models
new ActiveValueLabel(rotationActiveLabel, activeValueTitleX),
"Rotation");
- var optionSetYLeft = rotation.Left + rotation.Width;
+ var optionSetYLeft = activeValueTitleX.Left + activeValueTitleX.Width;
var directionalityLeft = directionalityPanel.Left;
@@ -283,7 +283,7 @@ namespace grapher.Models
new Field(decayRateBoxY, form, 0),
decayRateLabelY,
new ActiveValueLabel(decayRateActiveLabelY, activeValueTitleY),
- 0);
+ optionSetYLeft);
var growthRateX = new Option(
new Field(growthRateBoxX, form, 0),
@@ -295,7 +295,7 @@ namespace grapher.Models
new Field(growthRateBoxY, form, 0),
growthRateLabelY,
new ActiveValueLabel(growthRateActiveLabelY, activeValueTitleY),
- 0);
+ optionSetYLeft);
var smoothX = new Option(
new Field(smoothBoxX, form, 0),
@@ -307,7 +307,7 @@ namespace grapher.Models
new Field(smoothBoxY, form, 0),
smoothLabelY,
new ActiveValueLabel(smoothActiveLabelY, activeValueTitleY),
- 0);
+ optionSetYLeft);
var scaleX = new Option(
new Field(scaleBoxX, form, 0),
diff --git a/grapher/Models/Options/AccelTypeOptions.cs b/grapher/Models/Options/AccelTypeOptions.cs
index 13f4fdb..a8cb469 100644
--- a/grapher/Models/Options/AccelTypeOptions.cs
+++ b/grapher/Models/Options/AccelTypeOptions.cs
@@ -339,6 +339,9 @@ namespace grapher
AccelTypeActiveValue.Align();
GainSwitch.AlignActiveValues();
Acceleration.AlignActiveValues();
+ DecayRate.AlignActiveValues();
+ GrowthRate.AlignActiveValues();
+ Smooth.AlignActiveValues();
Scale.AlignActiveValues();
Cap.AlignActiveValues();
Offset.AlignActiveValues();
diff --git a/grapher/Models/Options/Option.cs b/grapher/Models/Options/Option.cs
index c6b68ba..8f21fa7 100644
--- a/grapher/Models/Options/Option.cs
+++ b/grapher/Models/Options/Option.cs
@@ -123,6 +123,7 @@ namespace grapher
}
}
+
#endregion Properties
#region Methods