From 8339b6788f9a579b04f36331b45ef4fd66f6f89a Mon Sep 17 00:00:00 2001 From: jomjol <30766535+jomjol@users.noreply.github.com> Date: Fri, 19 May 2023 21:14:51 +0200 Subject: [PATCH] Bug Fix #2403 --- sd-card/html/edit_analog.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sd-card/html/edit_analog.html b/sd-card/html/edit_analog.html index d1641370..70bd4053 100644 --- a/sd-card/html/edit_analog.html +++ b/sd-card/html/edit_analog.html @@ -586,7 +586,8 @@ function drawTextBG(context, txt, x, y, padding) { context.strokeRect(x0, y0, dx, dy); context.lineWidth = lw; context.beginPath(); - context.arc(x0+dx/2, y0+dy/2, dx/2, 0, 2 * Math.PI); +// context.arc (x0+dx/2, y0+dy/2, dx/2, 0, 2 * Math.PI); + context.ellipse(x0+dx/2, y0+dy/2, dx/2, dy/2, 0, 0, 2 * Math.PI); context.moveTo(x0+dx/2, y0); context.lineTo(x0+dx/2, y0+dy); context.moveTo(x0, y0+dy/2); @@ -606,7 +607,8 @@ function drawTextBG(context, txt, x, y, padding) { drawTextBG(context, ROIInfo[aktindex]["name"], x0+dx/2, y0-11, 5); context.lineWidth = 1; context.beginPath(); - context.arc(x0+dx/2, y0+dy/2, dx/2, 0, 2 * Math.PI); +// context.arc(x0+dx/2, y0+dy/2, dx/2, 0, 2 * Math.PI); + context.ellipse(x0+dx/2, y0+dy/2, dx/2, dy/2, 0, 0, 2 * Math.PI); context.moveTo(x0+dx/2, y0); context.lineTo(x0+dx/2, y0+dy); context.moveTo(x0, y0+dy/2);