You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tooltips have transparency and its Z value is 400, if the tooltip is drawn first, then all the elements that are drawn later will be discarded by depth test. So you cannot draw tooltips immediately before all elements with Z<400 are drawn.
Describe the bug
Tooltips have transparency and its Z value is 400, if the tooltip is drawn first, then all the elements that are drawn later will be discarded by depth test. So you cannot draw tooltips immediately before all elements with Z<400 are drawn.
refinedstorage2/refinedstorage2-platform-common/src/main/java/com/refinedmods/refinedstorage2/platform/common/support/widget/AbstractSideButtonWidget.java
Lines 51 to 74 in 4e73ddb
Screen#setTooltipForNextRenderPass
is the right way to go. Please refer to this issue for a detailed explanation BloCamLimb/ModernUI#216How can we reproduce this bug or crash?
The issue is just there,
Platform.INSTANCE.renderTooltip(graphics, buildTooltip(), mouseX, mouseY);
should not be called at that time.refinedstorage2/refinedstorage2-platform-common/src/main/java/com/refinedmods/refinedstorage2/platform/common/support/widget/AbstractSideButtonWidget.java
Lines 51 to 74 in 4e73ddb
What Minecraft version is this happening on?
Minecraft 1.20.4
What NeoForge or Fabric version is this happening on?
The latest version at this moment
What Refined Storage version is this happening on?
The latest version at this moment
Relevant log output
No response
The text was updated successfully, but these errors were encountered: