mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
Port ledger: joinForNarration is ported
The row still said Horizon had no narrator output, so joining a screen's title and message for narration went nowhere. The narrator is in the tree and widgets::join_for_narration is CommonComponents.joinForNarration: the parts joined with ". ", which is vanilla's NARRATION_SEPARATOR. Every narrated screen with a title and a message builds its narration string with it.
This commit is contained in:
1 parent
0c027235cf
commit
160c052dbe
1 file changed
+1
-1
@@ -15,7 +15,7 @@ ChatTypeDecoration.decorate port crates/horizon-client/src/game/remote.rs::chat_
|
||||
ChatTypeDecoration.resolveParameters port crates/horizon-client/src/game/remote.rs::chat_type_decorate the parameter list (sender, target, content) built in format_chat
|
||||
ClickEvent.Action.filterForSerialization port crates/horizon-client-core/src/component.rs::object_style gap: minor: a disallowed action (open_file) is dropped; vanilla refuses the whole component
|
||||
CommonComponents.optionStatus port crates/horizon-client-render/src/options_ui.rs::on_off options.on / options.off text
|
||||
CommonComponents.joinForNarration skip:other screen-reader narration text; Horizon has no narrator output (the narrator option is only stored)
|
||||
CommonComponents.joinForNarration port crates/horizon-client-render/src/widgets.rs::join_for_narration the parts joined with ". " (NARRATION_SEPARATOR), as vanilla; every narrated title-and-message screen goes through it
|
||||
Component.tryCollapseToString skip:java JSON shape only: Text always writes the object form, which reads the same
|
||||
Component.copy skip:java clone; Text is Clone
|
||||
Component.visit port crates/horizon-client-core/src/text.rs::Text::chars gap: minor: no early exit on the first consumer result; the styled characters are the same
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 18 and column 126.
|
Reference in new issue
Block a user