Fixed oversight in custom cape icon code

This commit is contained in:
MayNL
2026-05-02 23:30:02 -04:00
parent cd58e576e8
commit 50b8ccd350

View File

@@ -697,8 +697,8 @@ namespace PckStudio.Controls
// this math is basically to ensure the face is stretched if the texture is improper
Rectangle faceRect = new Rectangle(
(int)(depth * textureScaleX + depth * textureScaleX),
(int)(depth * textureScaleY + depth * textureScaleY),
(int)(depth * textureScaleX),
(int)(depth * textureScaleY),
(int)(width * textureScaleX),
(int)(height * textureScaleY)
);