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.

Startup: the title frame's wait starts once the title artwork's renderer is built

Ludovic Marie09292947020b
diff --git a/crates/horizon-client/src/game.rs b/crates/horizon-client/src/game.rs
index 6d9e69d92..86a60d162 100644
--- a/crates/horizon-client/src/game.rs
+++ b/crates/horizon-client/src/game.rs
@@ -20166,7 +20166,6 @@ impl Loading {
);
self.menu.set_root(root, &self.settings);
self.gui = Some(gui);
- self.ui_at = Some(Instant::now());
self.title_drawn = false;
horizon_client::ui_theme::reset_atlas();
self.apply_menu_settings();
@@ -20193,6 +20192,8 @@ impl Loading {
}
Err(e) => self.error = Some(e),
}
+ // The title frame's wait starts once its renderer is built.
+ self.ui_at = Some(Instant::now());
}
fn about_to_wait(&mut self, event_loop: &ActiveEventLoop) {
// The loop may run once more after exit(): keep the first error, the