Skip to content

Minecraft: Java Edition 26.3 rewritten from scratch in Rust, checked against vanilla with 281 differential harnesses. Get it with the Horizon launcher.

Merge pull request #6561 from xFedeT/fix/server-edit-tab-order

Ludovic Mariecf8e9608f867
diff --cc crates/horizon-client/src/title.rs
index fddf87532,a42fcbd23..f934c169e
--- a/crates/horizon-client/src/title.rs
+++ b/crates/horizon-client/src/title.rs
@@@ -3239,11 -3168,15 +3239,19 @@@ Would you like to enable the Narrator o
.map(|b| b.id);
if hit.is_some() {
self.focused_button = hit;
+ } else if matches!(
+ self.mode,
+ Mode::Multiplayer(
+ crate::multiplayer::Screen::Edit { .. } | crate::multiplayer::Screen::Friend { .. }
+ )
+ ) {
+ // A press on a text field takes the focus from the button.
+ self.focused_button = None;
}
+ if matches!(self.mode, Mode::CreateBuffet { .. }) {
+ self.buffet_click(x, y, (w, h), hit);
+ return (Action::None, hit.is_some());
+ }
if matches!(self.mode, Mode::CreateFlat { .. }) {
self.flat_click(x, y, (w, h), hit);
return (Action::None, hit.is_some());