summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUIFactory.cs
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/AccelGUIFactory.cs
parentRemove unneeded function (diff)
downloadrawaccel-ed3ee378aaf7438b688cab7af1235af4eff023ca.tar.xz
rawaccel-ed3ee378aaf7438b688cab7af1235af4eff023ca.zip
Small bug fixes
Diffstat (limited to 'grapher/Models/AccelGUIFactory.cs')
-rw-r--r--grapher/Models/AccelGUIFactory.cs8
1 files changed, 4 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),