From 0172877bc2bda05401e81e2757f25b05d3ab878f Mon Sep 17 00:00:00 2001 From: boxgaming <75969133+boxgaming@users.noreply.github.com> Date: Fri, 19 Jan 2024 09:25:46 -0600 Subject: [PATCH] Updated InvertRect method to use current line width --- lib/graphics/2d.bas | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/graphics/2d.bas b/lib/graphics/2d.bas index f99bf73..b395511 100644 --- a/lib/graphics/2d.bas +++ b/lib/graphics/2d.bas @@ -202,6 +202,7 @@ Sub InvertRect (x As Long, y As Long, width As Long, height As Long, fill As Int ctx.fill(); } else { + ctx.lineWidth = QB.defaultLineWidth(); ctx.strokeStyle = "white"; ctx.rect(x, y, width, height); ctx.stroke();