1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-04-29 01:30:13 +00:00

Updated InvertRect method to use current line width

This commit is contained in:
boxgaming 2024-01-19 09:25:46 -06:00
parent 056bc141d1
commit 0172877bc2

View file

@ -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();