diff --git a/RecrownedAthenaeum/SpecialTypes/NinePatch.cs b/RecrownedAthenaeum/SpecialTypes/NinePatch.cs index 861661d..dae92ff 100644 --- a/RecrownedAthenaeum/SpecialTypes/NinePatch.cs +++ b/RecrownedAthenaeum/SpecialTypes/NinePatch.cs @@ -71,15 +71,15 @@ namespace RecrownedAthenaeum.SpecialTypes { Rectangle[] patches = { - new Rectangle(0, 0, left, bottom), - new Rectangle(left, 0, width - left - right, bottom), - new Rectangle(width - right, 0, right, bottom), - new Rectangle(0, bottom, left, height - bottom - top), - new Rectangle(left, bottom, width - left - right, height - bottom - top), - new Rectangle(width - right, bottom, right, height - bottom - top), - new Rectangle(0, height - top, left, top), - new Rectangle(left, height - top, width - left - right, top), - new Rectangle(width - right, height - top, right, top), + new Rectangle(-left, -bottom, left, bottom), + new Rectangle(0, -bottom, width, bottom), + new Rectangle(width, -bottom, right, bottom), + new Rectangle(-left, 0, left, height), + new Rectangle(0, 0, width, height), + new Rectangle(width, 0, right, height), + new Rectangle(-left, height, left, top), + new Rectangle(0, height, width, top), + new Rectangle(width, height, right, top), }; return patches; }