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

RecipeBookComponent.extractTooltip still said there is no tooltip for
ghost slots. Game::ghost_stack answers GhostSlots.extractTooltip and
draw_slot_tooltip asks it before the slot's own stack, so the note now
says where the ghost tooltip comes from.
This commit is contained in:
MSedgeMC committed 2026-11-02 15:44:27 +00:00
1 parent 0cf1b3d209
commit 7cbd9eaa76
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ RecipeBookComponent.selectMatchingRecipes inline crates/horizon-client/src/game/
RecipeBookComponent.updateCollections port crates/horizon-client/src/game/recipe_book.rs::Game::build_view collections filtered by the search (Book::collection_matches) and by the craftable filter; callers reset the page on tab and filter changes
RecipeBookComponent.updateTabs inline crates/horizon-client/src/game/recipe_book.rs::Game::build_view tab visibility; positions are in Game::tab_pos and the squeeze in Game::start_new_recipe_animations
RecipeBookComponent.tick port crates/horizon-client/src/game/recipe_book.rs::Game::draw_recipe_book advances the swap time and the squeezes; the inventory-changed refresh is the hash in refresh_book_view
RecipeBookComponent.extractTooltip port crates/horizon-client/src/game/recipe_book.rs::Game::draw_book_panel gap: player: no tooltip for ghost slots (GhostSlots.extractTooltip); the page's recipe tooltip is the ItemTooltip call
RecipeBookComponent.extractTooltip port crates/horizon-client/src/game/recipe_book.rs::Game::draw_book_panel the page's recipe tooltip is the ItemTooltip call; a ghost slot's tooltip is GhostSlots.extractTooltip, whose stack Game::ghost_stack answers for draw_slot_tooltip
RecipeBookComponent.mouseClicked port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_click gap: player: in the narrow layout vanilla closes the book after placing a recipe (isOffsetNextToMainGUI is false); Horizon keeps it open
RecipeBookComponent.mouseDragged port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_drag the drag that started in the search box moves the selection end to the pointer (EditBox::drag_to); letting go ends it
RecipeBookComponent.onTabButtonPress port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_click a tab click selects the tab and resets the page to 0
1 GhostSlots.extractTooltip port crates/horizon-client/src/game/recipe_book.rs::Game::draw_ghost the ghost stack in a menu slot shows its tooltip at the slot, after the ghosts themselves are drawn (GhostSlots.extractRenderState)
14 RecipeBookComponent.updateCollections port crates/horizon-client/src/game/recipe_book.rs::Game::build_view collections filtered by the search (Book::collection_matches) and by the craftable filter; callers reset the page on tab and filter changes
15 RecipeBookComponent.updateTabs inline crates/horizon-client/src/game/recipe_book.rs::Game::build_view tab visibility; positions are in Game::tab_pos and the squeeze in Game::start_new_recipe_animations
16 RecipeBookComponent.tick port crates/horizon-client/src/game/recipe_book.rs::Game::draw_recipe_book advances the swap time and the squeezes; the inventory-changed refresh is the hash in refresh_book_view
17 RecipeBookComponent.extractTooltip port crates/horizon-client/src/game/recipe_book.rs::Game::draw_book_panel gap: player: no tooltip for ghost slots (GhostSlots.extractTooltip); the page's recipe tooltip is the ItemTooltip call the page's recipe tooltip is the ItemTooltip call; a ghost slot's tooltip is GhostSlots.extractTooltip, whose stack Game::ghost_stack answers for draw_slot_tooltip
18 RecipeBookComponent.mouseClicked port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_click gap: player: in the narrow layout vanilla closes the book after placing a recipe (isOffsetNextToMainGUI is false); Horizon keeps it open
19 RecipeBookComponent.mouseDragged port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_drag the drag that started in the search box moves the selection end to the pointer (EditBox::drag_to); letting go ends it
20 RecipeBookComponent.onTabButtonPress port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_click a tab click selects the tab and resets the page to 0