LibGui
LibGui copied to clipboard
WSprite Texture AutoScale
Is your feature request related to a problem? Please describe. When I use the Sprite Widget, the Texture does not automatically scale to the size of the Wdiget
Describe the solution you'd like I want WSprite to be able to stretch freely and maintain the vertical ratio
Describe alternatives you've considered Free stretching of the texture by method
Additional context No
I'm a bit confused - WSprite definitely stretches the texture to fit the widget size:
https://github.com/CottonMC/LibGui/blob/e9a209124fe88ede458ce558f739d017e5232df8/src/main/java/io/github/cottonmc/cotton/gui/widget/WSprite.java#L226