Non-rounded diamond highlight

This commit is contained in:
Mark Tolmacs 2025-04-22 21:52:57 +02:00
parent 41afafcce6
commit 2a71add05c
No known key found for this signature in database

View file

@ -317,9 +317,9 @@ const strokeDiamondWithRotation = (
); );
} else { } else {
context.moveTo(topX, topY); context.moveTo(topX, topY);
context.lineTo(rightX, rightY);
context.lineTo(bottomX, bottomY);
context.lineTo(leftX, leftY); context.lineTo(leftX, leftY);
context.lineTo(bottomX, bottomY);
context.lineTo(rightX, rightY);
} }
context.closePath(); context.closePath();