Skip to content

Commit f6701c1

Browse files
authored
Merge pull request #245 from Sdraugel/fix-bug-232
removed code that causes qr codes to generate incorrectly on linux an…
2 parents 04ecf92 + aa51a86 commit f6701c1

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

QRCoder/QRCode.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,7 @@ public Bitmap GetGraphic(int pixelsPerModule, Color darkColor, Color lightColor,
9898
if (module)
9999
{
100100
var r = new Rectangle(x - offset, y - offset, pixelsPerModule, pixelsPerModule);
101-
102-
if (drawIconFlag)
103-
{
104-
var region = new Region(r);
105-
region.Exclude(iconPath);
106-
gfx.FillRegion(darkBrush, region);
107-
}
108-
else
109-
{
110-
gfx.FillRectangle(darkBrush, r);
111-
}
101+
gfx.FillRectangle(darkBrush, r);
112102
}
113103
else
114104
{

0 commit comments

Comments
 (0)