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:
parent
056bc141d1
commit
0172877bc2
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue