[PR #7420] [MERGED] Port map: the ghost slot's tooltip is drawn, drop the stale gap #7594

Closed
opened 2026-11-03 07:20:27 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7420
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/audit-client2-018-gap


📝 Commits (1)

  • 7cbd9ea Port map: the ghost slot's tooltip is drawn, drop the stale gap

📊 Changes

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

View changed files

📝 tools/port_map/client2-018.tsv (+1 -1)

📄 Description

The RecipeBookComponent.extractTooltip note carried "gap: player: no tooltip for ghost slots (GhostSlots.extractTooltip)", and that is not true any more: a ghost slot's stack is answered by Game::ghost_stack (the port of GhostSlots.extractTooltip), and draw_slot_tooltip asks it before the slot's own stack, so a ghost's tooltip is drawn and wins over the item underneath.

Only the note changes; the verdict and the citation stay. The page's recipe tooltip is still the ItemTooltip call, which the note now says alone.

Checked with the rebuilt ledger:

PORT_LEDGER_OUT=/tmp/led-audit python3 tools/port_ledger.py map-check tools/port_map/client2-018.tsv
65 rows, no problems.

🔄 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/7420 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/audit-client2-018-gap` --- ### 📝 Commits (1) - [`7cbd9ea`](https://github.com/horizon-rust/horizon/commit/7cbd9eaa7646ed3ead07d38bb945137e65d317ea) Port map: the ghost slot's tooltip is drawn, drop the stale gap ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-018.tsv` (+1 -1) </details> ### 📄 Description The `RecipeBookComponent.extractTooltip` note carried "gap: player: no tooltip for ghost slots (GhostSlots.extractTooltip)", and that is not true any more: a ghost slot's stack is answered by `Game::ghost_stack` (the port of `GhostSlots.extractTooltip`), and `draw_slot_tooltip` asks it before the slot's own stack, so a ghost's tooltip is drawn and wins over the item underneath. Only the note changes; the verdict and the citation stay. The page's recipe tooltip is still the ItemTooltip call, which the note now says alone. Checked with the rebuilt ledger: ``` PORT_LEDGER_OUT=/tmp/led-audit python3 tools/port_ledger.py map-check tools/port_map/client2-018.tsv 65 rows, no problems. ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 07:20:27 +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#7594
No description provided.