From ddeef4db27d063002a36073524fb40a53922d411 Mon Sep 17 00:00:00 2001 From: ChrisRosser <41840611+ChrisRosser@users.noreply.github.com> Date: Sat, 6 Apr 2024 18:28:58 +0100 Subject: [PATCH] Update pid_tuning.js --- src/js/tabs/pid_tuning.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/tabs/pid_tuning.js b/src/js/tabs/pid_tuning.js index e037dfde833..521e20e37ee 100644 --- a/src/js/tabs/pid_tuning.js +++ b/src/js/tabs/pid_tuning.js @@ -1795,10 +1795,11 @@ pid_tuning.initialize = function (callback) { context.quadraticCurveTo(lowerctrl.x, lowerctrl.y, curveclip.x, curveclip.y); context.moveTo(curveclip.x, curveclip.y); context.lineTo(canvasWidth, curveclip.y); - } + } else { context.quadraticCurveTo(midxl, midyl, midx, midy); context.moveTo(midx, midy); context.quadraticCurveTo(midxr, midyr, canvasWidth, 0); + } context.lineWidth = 2; context.strokeStyle = '#ffbb00'; context.stroke();