From 208be8aa22a42cab4e3a62e593e82246bf044439 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Tue, 21 Jan 2020 03:48:46 -0600 Subject: [PATCH] Removed type conversion for new max output properties where not needed --- DS4Windows/DS4Forms/ViewModels/ProfileSettingsViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DS4Windows/DS4Forms/ViewModels/ProfileSettingsViewModel.cs b/DS4Windows/DS4Forms/ViewModels/ProfileSettingsViewModel.cs index f06cb58..9915650 100644 --- a/DS4Windows/DS4Forms/ViewModels/ProfileSettingsViewModel.cs +++ b/DS4Windows/DS4Forms/ViewModels/ProfileSettingsViewModel.cs @@ -686,13 +686,13 @@ namespace DS4WinWPF.DS4Forms.ViewModels public double LSMaxOutput { 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 { 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