Skip to content

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

Merged
Electr0Gunner merged 1 commit into
LawnProject:mainfrom
Pistonight:fix/stonebutton
Jun 30, 2026
Merged

allow stone button to be draw correctly with any size#18
Electr0Gunner merged 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

@Electr0Gunner Electr0Gunner merged commit 1e739a2 into LawnProject:main Jun 30, 2026
4 checks passed
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.

2 participants