From 5ebe213526efaee53fd636dd2489ba7cfc22e959 Mon Sep 17 00:00:00 2001 From: mika-n Date: Mon, 15 Jul 2019 17:10:53 +0300 Subject: [PATCH] small tweaks to comments and cleanups --- DS4Windows/BezierCurveEditor/BezierCurve.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/DS4Windows/BezierCurveEditor/BezierCurve.cs b/DS4Windows/BezierCurveEditor/BezierCurve.cs index 5c49a0a..b2384de 100644 --- a/DS4Windows/BezierCurveEditor/BezierCurve.cs +++ b/DS4Windows/BezierCurveEditor/BezierCurve.cs @@ -92,10 +92,7 @@ namespace DS4Windows if (x1 == 99.0) { // If x1 is 99 then curve is a pre-defined fixed curve and not a customizable bezier curve - if (y1 == 99.0) - // Enhanced Precision pre-defined curve as it used to be in <=V1.7.12 versions. - // Initialize it as a lookup table, so runtime re-mapping goes the same way as with true bezier curves. - return InitEnhancedPrecision(gamepadAxisType); + if (y1 == 99.0) return InitEnhancedPrecision(gamepadAxisType); } if (x1 < 0 || x1 > 1 || x2 < 0 || x2 > 1)