Skip to content

allow stone button to be draw correctly with any size#18

Open
Pistonight wants to merge 1 commit into
LawnProject:mainfrom
Pistonight:fix/stonebutton
Open

allow stone button to be draw correctly with any size#18
Pistonight wants to merge 1 commit into
LawnProject:mainfrom
Pistonight:fix/stonebutton

Conversation

@Pistonight

Copy link
Copy Markdown
Contributor

The currently implementation only draws the button to be the same size as the hitbox for specific sizes, which might be intended (?) if originally the button is only meant to be certain sizes. But this is a pain for making custom UI since almost always the button will be too short and the text looks not-centered

with this fix the stone button will always draw to the same size as the hitbox. truncating the texture is barely noticeable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant