Skip to content

Commit 6ffcea7

Browse files
authored
Fixed horizontal images being cropped wrong.
1 parent 1e1e42e commit 6ffcea7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TerrariaImageStitcher/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public System.Drawing.Bitmap CombineBitmap(string[] files)
155155
// Update Image First Run
156156
if (temptall <= 1)
157157
{
158-
g.DrawImage(image, new System.Drawing.Rectangle(imgwide, imgtall, image.Width, image.Height));
158+
g.DrawImage(image, new System.Drawing.Rectangle(imgwide, imgtall, image.Width + 32, image.Height)); // Fix 1.1: (image.Width + 32) - Horizontal lengh issue.
159159
}
160160
else
161161
{

0 commit comments

Comments
 (0)