Skip to content

GuiWindow based tooltips - #3737

Open
Mabeeck wants to merge 13 commits into
PixelGuys:masterfrom
Mabeeck:tooltip
Open

Mabeeck wants to merge 13 commits into
PixelGuys:masterfrom
Mabeeck:tooltip

Conversation

@Mabeeck

@Mabeeck Mabeeck commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Closes: #2527 and #3318
Yoinked from #3242

Additionally adds tooltips for disabled buttons to explain why they can't be pressed right now.

Wunka and others added 13 commits October 28, 2026 12:17
That loop is redundant and runs in rendering order, while the other loop runs in reverse rendering order, meaning that the two loops can render two different tooltips on top of each other.
Previously it would keep going until it managed to render a tooltip or ran out of windows to check. That means that if you hover over a button that has a tooltip, it would display the tooltip. Even if there was something else rendered on top of the button.
Now it stops after it found the topmost window we are hovering over and asked it to render the tooltip.
It appears that I too can be wrong sometimes
Item tooltips will no longer be displayed while the inventory is closed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Low Priority

Development

Successfully merging this pull request may close these issues.

Allow any GUI component to create a tooltip on hover instead of tying it to item slots.

2 participants