Browse Source

Merge pull request #1154 from samsosa/master

Simple copy & paste error fixed, GetMaxX must return width not height.
pull/1156/head
James Jackson-South 6 years ago
committed by GitHub
parent
commit
58d4c6c9a0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/ImageSharp/Common/Helpers/ImageMaths.cs

2
src/ImageSharp/Common/Helpers/ImageMaths.cs

@ -359,7 +359,7 @@ namespace SixLabors.ImageSharp
}
}
return height;
return width;
}
topLeft.Y = GetMinY(bitmap);

Loading…
Cancel
Save