avoid unnecessary JS bindings by using narrower conditions, remove logging

This commit is contained in:
2026-05-27 13:05:45 +02:00
parent d92e5b4cd7
commit 41c9d9e9b4
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -23,6 +23,7 @@ Canvas {
ctx.save();
ctx.lineWidth = root.penWidth;
ctx.strokeStyle = root.penColor;
ctx.lineJoin = "round";
ctx.lineCap = "round";
ctx.beginPath();
ctx.moveTo(points[0].x, points[0].y);