From 9a1a6fc42eb3cb9ef0e0c4ddb1fdc5c40d3710e9 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Tue, 21 Jun 2016 07:58:16 +1200 Subject: [PATCH] Adjusted curve height on PID tab. --- tabs/pid_tuning.html | 6 +++--- tabs/pid_tuning.js | 7 ------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/tabs/pid_tuning.html b/tabs/pid_tuning.html index 1f014d8a..f83572bd 100755 --- a/tabs/pid_tuning.html +++ b/tabs/pid_tuning.html @@ -186,7 +186,7 @@
- +
@@ -206,7 +206,7 @@
- +
@@ -243,4 +243,4 @@ - \ No newline at end of file + diff --git a/tabs/pid_tuning.js b/tabs/pid_tuning.js index dae52042..9c1c23fc 100755 --- a/tabs/pid_tuning.js +++ b/tabs/pid_tuning.js @@ -352,13 +352,6 @@ TABS.pid_tuning.initialize = function (callback) { $('.pid_tuning .roll_pitch_rate').hide(); } - function setCanvasDimensions(canvas) { - canvas.width = canvas.parentNode.clientWidth; - canvas.height = canvas.parentNode.clientHeight; - } - setCanvasDimensions($('.pitch_roll_curve canvas').get(0)); - setCanvasDimensions($('.yaw_curve canvas').get(0)); - function drawRateCurve(rateElement, expoElement, canvasElement) { var rate = parseFloat(rateElement.val()), expo = parseFloat(expoElement.val()),