aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/partials/canvas.html2
1 files changed, 2 insertions, 0 deletions
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;