From 31fce5d3a5e6ea1e089d4ad73d6264b2a2991374 Mon Sep 17 00:00:00 2001 From: vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> Date: Wed, 28 May 2025 01:26:58 +0200 Subject: round brush shape --- views/partials/canvas.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/partials/canvas.html b/views/partials/canvas.html index 94ef89b..950745d 100644 --- a/views/partials/canvas.html +++ b/views/partials/canvas.html @@ -18,6 +18,8 @@ const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); ctx.getImageData(0, 0, 1, 1); // to trigger librewolf's protection (and allow users to enable canvas before publishing) + ctx.lineCap = "round"; + ctx.lineJoin = "round"; //ctx.fillStyle = "black"; let isDrawing = false; -- cgit v1.2.3