Merge branch 'rolling' into update-webui

This commit is contained in:
jomjol
2023-05-19 22:08:05 +02:00
committed by GitHub
27 changed files with 89 additions and 100 deletions

View File

@@ -752,7 +752,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);
@@ -777,7 +778,8 @@ function drawTextBG(context, txt, x, y, padding) {
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);