This commit is contained in:
chndfang 2025-06-21 01:14:35 +08:00
parent 4d25edd118
commit b892a9a76f

View File

@ -798,7 +798,7 @@ function drawLine(ctx: CanvasRenderingContext2D, pen: MapPen): void {
const { x: dx2 = 0, y: dy2 = 0 } = c2 ?? {};
const [c1x, c1y] = [x1 + dx1 * s, y1 + dy1 * s];
const [c2x, c2y] = [x2 + dx2 * s, y2 + dy2 * s];
const t = direction < 0 ? 0.5 : 0.5;
const t = direction < 0 ? 0.55 : 0.45;
ctx.save();
ctx.beginPath();