diff options
| author | Jacob Palecki <[email protected]> | 2021-07-10 16:36:26 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-07-10 16:36:26 -0700 |
| commit | ed3ee378aaf7438b688cab7af1235af4eff023ca (patch) | |
| tree | cf1918964d6bdd2d96c6b769e94e01df95ea399d | |
| parent | Remove unneeded function (diff) | |
| download | rawaccel-ed3ee378aaf7438b688cab7af1235af4eff023ca.tar.xz rawaccel-ed3ee378aaf7438b688cab7af1235af4eff023ca.zip | |
Small bug fixes
| -rw-r--r-- | grapher/Form1.Designer.cs | 6 | ||||
| -rw-r--r-- | grapher/Models/AccelGUIFactory.cs | 8 | ||||
| -rw-r--r-- | grapher/Models/Options/AccelTypeOptions.cs | 3 | ||||
| -rw-r--r-- | grapher/Models/Options/Option.cs | 1 |
4 files changed, 11 insertions, 7 deletions
diff --git a/grapher/Form1.Designer.cs b/grapher/Form1.Designer.cs index 181c3e2..203397b 100644 --- a/grapher/Form1.Designer.cs +++ b/grapher/Form1.Designer.cs @@ -397,7 +397,7 @@ namespace grapher // growthRateLabelY // this.growthRateLabelY.AutoSize = true; - this.growthRateLabelY.Location = new System.Drawing.Point(262, 648); + this.growthRateLabelY.Location = new System.Drawing.Point(263, 648); this.growthRateLabelY.Name = "growthRateLabelY"; this.growthRateLabelY.Size = new System.Drawing.Size(67, 13); this.growthRateLabelY.TabIndex = 183; @@ -415,7 +415,7 @@ namespace grapher // decayRateLabelY // this.decayRateLabelY.AutoSize = true; - this.decayRateLabelY.Location = new System.Drawing.Point(262, 626); + this.decayRateLabelY.Location = new System.Drawing.Point(262, 622); this.decayRateLabelY.Name = "decayRateLabelY"; this.decayRateLabelY.Size = new System.Drawing.Size(64, 13); this.decayRateLabelY.TabIndex = 181; @@ -1870,7 +1870,7 @@ namespace grapher // SmoothActiveYLabel // this.SmoothActiveYLabel.AutoSize = true; - this.SmoothActiveYLabel.Location = new System.Drawing.Point(420, 678); + this.SmoothActiveYLabel.Location = new System.Drawing.Point(414, 677); this.SmoothActiveYLabel.Name = "SmoothActiveYLabel"; this.SmoothActiveYLabel.Size = new System.Drawing.Size(13, 13); this.SmoothActiveYLabel.TabIndex = 193; 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 |