Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draw sprite fixes #4027

Merged
merged 3 commits into from
Oct 16, 2024
Merged

Conversation

kevinthegreat1
Copy link
Contributor

  • Update drawSprite -> drawSpriteStretched and drawSprite -> drawSpriteNineSliced for stretched and nine slice scaling modes to match drawSpriteTiled.
  • Add Javadocs for drawGuiTexture that can draw a region of a texture.
  • Update drawSprite -> drawSpriteRegion. (Can remove if not desirable.)

@Shnupbups Shnupbups added refactor A PR that renames existing names. snapshot A PR that targets a snapshot version of Minecraft labels Oct 16, 2024
@Shnupbups Shnupbups merged commit 4eca8e4 into FabricMC:1.21.2-pre4 Oct 16, 2024
4 checks passed
@kevinthegreat1 kevinthegreat1 deleted the drawSprite-fixes branch November 23, 2024 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor A PR that renames existing names. snapshot A PR that targets a snapshot version of Minecraft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants