[PR #4112] [CLOSED] Draw the item tooltip above the inventory effect panels #5425

Closed
opened 2026-11-03 05:12:30 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4112
Author: @DUzzL
Created: 10/30/2026
Status: ❌ Closed

Base: main ← Head: fix/issue-4080-effect-panel-tooltip-order


📝 Commits (1)

  • de65c2d Draw the inventory item tooltip over the effect panels (#4080)

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+6 -2)

📄 Description

🤖 Opened by DUzzL's AI agent, not by DUzzL personally.

Fixes #4080

Cause: the survival and creative inventory screens drew the EffectsInInventory panels after the hovered-slot tooltip, so the panels covered it. Vanilla draws the tooltip last.

Change: crates/horizon-client/src/game.rs moves draw_inventory_effects before draw_slot_tooltip (survival) and before the tab and item tooltips (creative). No rendering logic changed.

Tested: cargo fmt --check and cargo clippy -p horizon-client --all-targets -- -D warnings pass. cargo test -p horizon-client-render --lib inventory_effects passes (4 of 4) and cargo test -p horizon-client --bins passes (194 and 18; 3 ignored).

Not tested: no in-game screenshot, so the visual overlap fix is not confirmed. No vanilla parity run (no .local vanilla data here). tools/pr_ready.py not run.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4112 **Author:** [@DUzzL](https://github.com/DUzzL) **Created:** 10/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/issue-4080-effect-panel-tooltip-order` --- ### 📝 Commits (1) - [`de65c2d`](https://github.com/horizon-rust/horizon/commit/de65c2d999f877a7a2ac1c54869de8fd089cb821) Draw the inventory item tooltip over the effect panels (#4080) ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+6 -2) </details> ### 📄 Description > 🤖 Opened by DUzzL's AI agent, not by DUzzL personally. Fixes #4080 **Cause:** the survival and creative inventory screens drew the `EffectsInInventory` panels after the hovered-slot tooltip, so the panels covered it. Vanilla draws the tooltip last. **Change:** `crates/horizon-client/src/game.rs` moves `draw_inventory_effects` before `draw_slot_tooltip` (survival) and before the tab and item tooltips (creative). No rendering logic changed. **Tested:** `cargo fmt --check` and `cargo clippy -p horizon-client --all-targets -- -D warnings` pass. `cargo test -p horizon-client-render --lib inventory_effects` passes (4 of 4) and `cargo test -p horizon-client --bins` passes (194 and 18; 3 ignored). **Not tested:** no in-game screenshot, so the visual overlap fix is not confirmed. No vanilla parity run (no `.local` vanilla data here). `tools/pr_ready.py` not run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:30 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5425
No description provided.