This commit is contained in:
Schluffe committed 2026-03-05 23:36:33 +01:00
1 parent c2dce421b3
commit c6bb4abac0
12 files changed
+131 -144

No files matched your search

+2
View File
@@ -31,10 +31,12 @@ export function strokeRect(
rect: Rect,
color: string = "#fff",
alpha: number = 1.0,
lineWidth: number = 1,
): void {
ctx.save();
ctx.strokeStyle = color;
ctx.globalAlpha = alpha;
ctx.lineWidth = lineWidth;
ctx.strokeRect(
rect.position.x - 0.5,
rect.position.y - 0.5,