Removed type conversion for new max output properties where not needed

This commit is contained in:
Travis Nickles 2020-01-21 03:48:46 -06:00
parent 3353b4afcd
commit 208be8aa22

View File

@ -686,13 +686,13 @@ namespace DS4WinWPF.DS4Forms.ViewModels
public double LSMaxOutput public double LSMaxOutput
{ {
get => Global.LSModInfo[device].maxOutput / 100.0; get => Global.LSModInfo[device].maxOutput / 100.0;
set => Global.LSModInfo[device].maxOutput = (int)(value * 100.0); set => Global.LSModInfo[device].maxOutput = value * 100.0;
} }
public double RSMaxOutput public double RSMaxOutput
{ {
get => Global.RSModInfo[device].maxOutput / 100.0; get => Global.RSModInfo[device].maxOutput / 100.0;
set => Global.RSModInfo[device].maxOutput = (int)(value * 100.0); set => Global.RSModInfo[device].maxOutput = value * 100.0;
} }
public double LSSens public double LSSens