Skip to content

Conversation

@Johni0702
Copy link
Contributor

This call was accidentally dropped in f9c95e8#diff-bc7125e63fa8e1fe130c0591fecb4078dad770ace6f613ec4ce3cb9729c8ee98L126, breaking translucent GradientComponents on versions prior to 1.21.5 unless blending happens to already be enabled.

UIText always enables blending but does not disable it (MC's font renderer itself only disables it on more modern versions, not sure where the cut-off is but 1.12.2 still leaves it enabled), and one of out two remaining GradientComponent we use in Essential (we've mostly switched to GradientEffect) is on top of text, hence why this wasn't noticed immediately.

Linear: EM-3177

@Johni0702 Johni0702 requested a review from DJtheRedstoner April 9, 2025 10:25
@Johni0702 Johni0702 merged commit 73fa922 into master Apr 10, 2025
1 check passed
@Johni0702 Johni0702 deleted the fix/gradient-component-blending branch April 10, 2025 12:29
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.

3 participants