Improved rounded rectangles #59

This commit is contained in:
2026-03-25 22:18:16 +01:00
parent fc1500abbd
commit b81a4dda98
3 changed files with 46 additions and 13 deletions
@@ -24,7 +24,7 @@ public class ImageTexture extends Element {
int renderHeight = (int) (height * client.getWindow().getFramebufferHeight()
/ client.getWindow().getHeight());
IdentifierRef pngId = SvgTexture.getSvg(client, sprite, renderWidth * 2, renderHeight * 2);
IdentifierRef pngId = SvgTexture.getSvg(sprite, renderWidth * 2, renderHeight * 2);
this.sprite = pngId;
if (pngId == null) {