It was a bug

This commit is contained in:
YoshiRulz 2019-06-13 13:39:04 +10:00 committed by James Groom
parent 1c0622d272
commit 7cbd1decc1
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ namespace BizHawk.Client.EmuHawk
manualTheta.ValueChanged -= PolarNumeric_Changed;
var polar = PolarRectConversion.RectToPolarDeg(AnalogStick.X - rangeAverageX, AnalogStick.Y - rangeAverageY);
manualR.Value = Math.Min(manualR.Value, (decimal) polar.Item1); //TODO bug? if not, this can be `if (polar.Item1 < manualR.Value) manualR.Value = polar.Item1;`
manualR.Value = (decimal) polar.Item1;
manualTheta.Value = (decimal) polar.Item2;
manualR.ValueChanged += PolarNumeric_Changed;