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

Fix recipe properties offsetting info text too much #2360

Conversation

loxoDev
Copy link
Contributor

@loxoDev loxoDev commented Jan 23, 2024

What

Some recipe properties like the primitive property don't actually draw any information on JEI previews but still offset the next property by some amount, which causes ugly empty lines like the following:

This is taken from here.

Implementation Details

Correctly returns an info height of 0 if nothing is to be drawn for the primitive as well as the cleanroom recipe property

Outcome

Properly spaces the info text.

@loxoDev loxoDev requested a review from a team as a code owner January 23, 2024 15:08
@htmlcsjs htmlcsjs added the type: bug Something isn't working label Jan 23, 2024
@ALongStringOfNumbers ALongStringOfNumbers merged commit 9a7ac23 into GregTechCEu:master Jan 29, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants