You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the Mid region is offset from the top-left of the image by more than the top and left sides of the patch, for example by using middle images from a spritesheet, then the Padding calculation will be wrong, and will instead take the position of the Mid region within the spritesheet as being the padding from the top-left.
I'll submit a PR to fix this in a bit.
The text was updated successfully, but these errors were encountered:
Dwergi
added a commit
to Dwergi/MonoGame.Extended
that referenced
this issue
Sep 2, 2024
* fix(Matrix3x2): decompose method (#941)
* Fix bug when using `NinePatch` with `Texture2DRegion`. (#945)
Resolves#943
* BitmapFont now always loads from TitleContainer. (#946)
Fixes KNI web builds when using BitmapFont (#944)
* Fix bug when creating a NinePatch using the Texture2DRegion extension method (#948)
* Revert UV code (#951)
* [Weekly] Version 4.0.3 (#952)
* Starting 4.0.2 release prep
* Update changelog
* Bump version number to 4.0.3
* Updated workflows to use dotnet 8
---------
Co-authored-by: Ilia Bahrebar <150489740+Std-Enigma@users.noreply.github.com>
Co-authored-by: Dwergi <sebastian.nordgren@gmail.com>
Co-authored-by: Joseph Newman <greenstack@users.noreply.github.com>
Co-authored-by: Jeremy Swartwood <jeremy.swartwood@gmail.com>
If the
Mid
region is offset from the top-left of the image by more than the top and left sides of the patch, for example by using middle images from a spritesheet, then thePadding
calculation will be wrong, and will instead take the position of theMid
region within the spritesheet as being the padding from the top-left.I'll submit a PR to fix this in a bit.
The text was updated successfully, but these errors were encountered: