It was a bug
This commit is contained in:
parent
1c0622d272
commit
7cbd1decc1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue