port_map: createScreen is open_chat_method, and its draft gap is closed

open_chat_method is ChatComponent.createScreen: it restores the kept draft
when it can (a command draft only for /), opens the box with the tab's prefix
otherwise and records whether the box started on a draft, so the row names it
rather than open_chat and no longer claims no draft is restored.
This commit is contained in:
MSedgeMC committed 2026-11-02 14:15:44 +00:00
1 parent 98330eacf2
commit b597fa981e
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ ChatComponent.getHeight port crates/horizon-client-render/src/chat.rs::ChatOptio
ChatComponent.defaultUnfocusedPct inline crates/horizon-client-render/src/chat.rs::ChatOptions::default the default 70/160 is stored as a constant, not computed from the height formula
ChatComponent.getLineHeight port crates/horizon-client-render/src/chat.rs::ChatOptions::line_height 9 * (line spacing + 1)
ChatComponent.saveAsDraft port crates/horizon-client/src/game/chat.rs::Game::keep_chat_draft the text left in the box becomes the draft unless the screen was closed on purpose without Save Chat Drafts or the text was sent
ChatComponent.createScreen port crates/horizon-client/src/game/chat.rs::Game::open_chat gap: player: no draft is restored; the chat opens with the initial text its caller passes
ChatComponent.createScreen port crates/horizon-client/src/game/chat.rs::Game::open_chat_method T or / opens the chat with the draft kept last time, a command draft only for /, else with its prefix, and records whether the box starts on a draft
ChatComponent.preserveCurrentChatScreen missing minor: unsure: Horizon keeps no chat screen across a dimension change; game/nether_portal.rs:577 only leaves Chat alone during a portal effect, the change path was not checked
ChatComponent.storeState inline crates/horizon-client/src/game/remote.rs::Game::poll_remote no snapshot: the Reconfigured arm only resets boss bars and registries, so the chat survives a reconfigure without a copy
ChatComponent.restoreState inline crates/horizon-client/src/game/remote.rs::Game::poll_remote no restore: the chat is never cleared on Reconfigured, so there is nothing to put back
1 BossHealthOverlay.extractBar port crates/horizon-client-render/src/hud_overlays.rs::boss_overlay background bar, then progress at the lerped width; the notch overlay only when not PROGRESS
13 ChatComponent.defaultUnfocusedPct inline crates/horizon-client-render/src/chat.rs::ChatOptions::default the default 70/160 is stored as a constant, not computed from the height formula
14 ChatComponent.getLineHeight port crates/horizon-client-render/src/chat.rs::ChatOptions::line_height 9 * (line spacing + 1)
15 ChatComponent.saveAsDraft port crates/horizon-client/src/game/chat.rs::Game::keep_chat_draft the text left in the box becomes the draft unless the screen was closed on purpose without Save Chat Drafts or the text was sent
16 ChatComponent.createScreen port crates/horizon-client/src/game/chat.rs::Game::open_chat crates/horizon-client/src/game/chat.rs::Game::open_chat_method gap: player: no draft is restored; the chat opens with the initial text its caller passes T or / opens the chat with the draft kept last time, a command draft only for /, else with its prefix, and records whether the box starts on a draft
17 ChatComponent.preserveCurrentChatScreen missing minor: unsure: Horizon keeps no chat screen across a dimension change; game/nether_portal.rs:577 only leaves Chat alone during a portal effect, the change path was not checked
18 ChatComponent.storeState inline crates/horizon-client/src/game/remote.rs::Game::poll_remote no snapshot: the Reconfigured arm only resets boss bars and registries, so the chat survives a reconfigure without a copy
19 ChatComponent.restoreState inline crates/horizon-client/src/game/remote.rs::Game::poll_remote no restore: the chat is never cleared on Reconfigured, so there is nothing to put back