Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit 2b2af57

Browse files
committed
Hotfix for the thickness decimals
1 parent d442022 commit 2b2af57

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • Controller Input Display/Controller Input Display

Controller Input Display/Controller Input Display/Settings.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ public Settings()
192192
Minimum = 1,
193193
Location = new Point(220, 283),
194194
Size = new Size(70, 23),
195-
Value = (decimal)Display.LStickWidth
195+
Value = (decimal)Display.LStickWidth,
196+
DecimalPlaces = 2,
196197
};
197198
LSWidthUpDown.ValueChanged += UpdateThicknessSettings;
198199
Controls.Add(LSWidthUpDown);
@@ -203,7 +204,8 @@ public Settings()
203204
Minimum = 1,
204205
Location = new Point(220, 312),
205206
Size = new Size(70, 23),
206-
Value = (decimal)Display.RStickWidth
207+
Value = (decimal)Display.RStickWidth,
208+
DecimalPlaces = 2,
207209
};
208210
RSWidthUpDown.ValueChanged += UpdateThicknessSettings;
209211
Controls.Add(RSWidthUpDown);

0 commit comments

Comments
 (0)