mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-10 10:31:29 -10:00
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:
1 parent
0cf1b3d209
commit
7cbd9eaa76
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
Reference in new issue
Block a user