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

Hacky fix for EMI recipe tree rendering #2736

Open
wants to merge 1 commit into
base: 1.20.1
Choose a base branch
from

Conversation

jtuc
Copy link
Contributor

@jtuc jtuc commented Jan 12, 2025

What

Fix EMI recipe tree rendering by doing a partial revert of the changes to GTRecipeEMICategory in 039659f

Implementation Details

I suspect this works due to some implementation detail of EmiTexture/EmiDrawContext setting z to 0 or something? I couldn't figure out the full details myself; please reject this if you know the "proper" way to fix this.

Outcome

Fixes #2735

Fix GregTechCEu#2735 by doing a partial revert of the changes to GTRecipeEMICategory in 039659f
I suspect this works due to some implementation detail of EmiTexture/EmiDrawContext setting z to 0 or something?
I couldn't figure out the full details myself; please reject this if you know the "proper" way to fix this.
@jtuc jtuc requested a review from a team as a code owner January 12, 2025 20:50
@krossgg
Copy link
Contributor

krossgg commented Jan 12, 2025

I'm legitimately confused how the category icon messes this up. I'm gonna do some testing and get back to you on this, if that's ok.

@jtuc
Copy link
Contributor Author

jtuc commented Jan 12, 2025

Yeah, I wouldn't believe it either if git bisect didn't lead me here. I'd much prefer a proper fix instead of merging this PR; I mostly just raised it to demonstrate exactly where the issue is happening.

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.

EMI Recipe Tree renders numbers behind some items
2 participants