[PR #4109] [MERGED] Draw item tooltips over inventory effect panels #5423

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4109
Author: @Benflex1
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

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


📝 Commits (2)

  • 7fe6f09 Draw item tooltips over inventory effect panels
  • f1ed2f3 Merge main into fix/4080-inventory-effect-tooltip-order

📊 Changes

2 files changed (+16 additions, -8 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+12 -3)
📝 crates/horizon-client/src/game/potions.rs (+4 -5)

📄 Description

Fixes #4080.

The survival and creative inventories drew the active-effect panels after draw_slot_tooltip / the creative item tooltip, so the panel backgrounds covered the tooltip text.

draw_inventory_effects now paints the panels where the rest of the screen is drawn and returns the hovered effect's tooltip lines; both inventories draw those lines after every other tooltip. Item and slot tooltips now sit above the effect panels, as in vanilla 26.3.

Tested with six active effects and a right-edge slot: the item tooltip is drawn over the effect panel. Also ran the full horizon-client lib suite and pr_ready.py --quick.


🔄 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/4109 **Author:** [@Benflex1](https://github.com/Benflex1) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4080-inventory-effect-tooltip-order` --- ### 📝 Commits (2) - [`7fe6f09`](https://github.com/horizon-rust/horizon/commit/7fe6f090e10feb70f5d79023e19c705f67724ba2) Draw item tooltips over inventory effect panels - [`f1ed2f3`](https://github.com/horizon-rust/horizon/commit/f1ed2f36e6925ca32669ec010d37ee1709ccc54d) Merge main into fix/4080-inventory-effect-tooltip-order ### 📊 Changes **2 files changed** (+16 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+12 -3) 📝 `crates/horizon-client/src/game/potions.rs` (+4 -5) </details> ### 📄 Description Fixes #4080. The survival and creative inventories drew the active-effect panels after `draw_slot_tooltip` / the creative item tooltip, so the panel backgrounds covered the tooltip text. `draw_inventory_effects` now paints the panels where the rest of the screen is drawn and returns the hovered effect's tooltip lines; both inventories draw those lines after every other tooltip. Item and slot tooltips now sit above the effect panels, as in vanilla 26.3. Tested with six active effects and a right-edge slot: the item tooltip is drawn over the effect panel. Also ran the full `horizon-client` lib suite and `pr_ready.py --quick`. --- <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:29 +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#5423
No description provided.