mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-08 08:07:53 -10:00
port_map: clear stale client2-018 rows main already implements
The ghost-slot tooltip, the recipe book's search drag and its IME composition all have code behind them; each row now cites the fn.
This commit is contained in:
1 parent
d928d1cd61
commit
02c2eb7e58
1 file changed
+3
-3
@@ -1,4 +1,4 @@
|
||||
GhostSlots.extractTooltip missing player: hovering a ghost ingredient or result in the crafting grid or furnace shows no item tooltip; the ghost draw has no tooltip call and draw_slot_tooltip reads only real slots
|
||||
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)
|
||||
GhostSlots.GhostSlot.getItem port crates/horizon-client/src/recipe_book_screen.rs::ghost the stack cycles with index % items; empty ghost slots are dropped in Book::ghost
|
||||
OverlayRecipeComponent.mouseClicked port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_click left click places the overlay's recipe; right click and outside clicks close the overlay
|
||||
OverlayRecipeComponent.OverlayCraftingRecipeButton.calculateIngredientsPositions port crates/horizon-client/src/recipe_book_screen.rs::overlay_cells shaped recipes use the 3x3 grid cells, shapeless ones i % 3 and i / 3; empty ingredients are dropped
|
||||
@@ -16,13 +16,13 @@ RecipeBookComponent.updateTabs inline crates/horizon-client/src/game/recipe_book
|
||||
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.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 missing player: dragging across the recipe search box does not select text; EditBox::drag_to is used only by the title screen
|
||||
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
|
||||
RecipeBookComponent.replaceSelected inline crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_click sets recipe_ui.tab, so one tab is selected at a time
|
||||
RecipeBookComponent.toggleFiltering port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_click the craftable filter button flips the filter, sends the settings and resets the page
|
||||
RecipeBookComponent.keyPressed port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_key search box keys and KeyT focus (Game::recipe_focus_search); gap: player: Enter and Space do not place the last clicked recipe (lastRecipe); gap: player: Escape does not close only the book in the narrow layout
|
||||
RecipeBookComponent.charTyped port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_key typed text enters the search box from the key event; gap: minor: no separate char event, so no IME text
|
||||
RecipeBookComponent.preeditUpdated missing minor: no IME composition in the recipe search box
|
||||
RecipeBookComponent.preeditUpdated port crates/horizon-client/src/game/ime.rs::Game::ime_preedit the composition is drawn under the caret and committed into the focused box by Game::ime_commit; the recipe search is one of the fields Game::text_field_focused allows the input method for, though the composition sits in the overlay rather than in the box's own text
|
||||
RecipeBookComponent.capturesInput port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_search_focused true while the search box has focus
|
||||
RecipeBookComponent.checkSearchStringUpdate inline crates/horizon-client/src/game/recipe_book.rs::Game::refresh_book_view the search text is part of the view key, so a change rebuilds the buttons
|
||||
RecipeBookComponent.pirateSpeechForThePeople missing minor: typing excitedze in the recipe search switches the game to pirate English (en_pt); Horizon has no language switch from the book
|
||||
|
||||
|
Reference in new issue
Block a user