From a019b8b5ca9fca22cb2345199b3b6e067b5b988b Mon Sep 17 00:00:00 2001 From: Dimitrios Kaitantzidis Date: Sun, 8 Oct 2023 17:02:03 +0300 Subject: [PATCH] Deletes console.log statements and commented out code. --- src/main/resources/templates/sign.html | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/main/resources/templates/sign.html b/src/main/resources/templates/sign.html index 238c647d..a58298d1 100644 --- a/src/main/resources/templates/sign.html +++ b/src/main/resources/templates/sign.html @@ -188,13 +188,6 @@ select#font-select, select#font-select option { th:class="${font.name.toLowerCase()+'-font'}"> - - - - - - -
@@ -216,22 +209,15 @@ select#font-select, select#font-select option { canvas.height = paragraphs.length * textHeight*1.35; //for tails ctx.font = `${fontSize}px ${font}`; - ctx.textBaseline = 'top'; - // let y = fontSize; let y = 0; - console.log(paragraphs); - console.log(canvas.height); - paragraphs.forEach(paragraph => { ctx.fillText(paragraph, 0, y); y += fontSize; }); - // ctx.fillText(sigText, 0, fontSize); - const dataURL = canvas.toDataURL(); DraggableUtils.createDraggableCanvasFromUrl(dataURL); }