[PR #150] [MERGED] Apply saved audio and GUI settings at startup #2355

Closed
opened 2026-11-02 15:55:16 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/150
Author: @Online5277
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @ludovic111

Base: main ← Head: fix/startup-settings


📝 Commits (1)

  • 0dd8ed5 fix(client): apply saved settings before the title screen

📊 Changes

1 file changed (+1 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+1 -3)

📄 Description

Saved master/category volume and GUI scale were not applied before the first title screen; they only took effect after changing an option or opening a world. Apply the existing settings method immediately after constructing the game, so startup uses the saved values and retains the existing font/chat settings.

Fixes #134.

Validation: Rust workspace tests, all 173 Python tests, workspace/all-target Clippy with warnings denied, formatting, diff whitespace, and public-tree history checks pass. No new unit test: the change reuses the existing settings method, and startup requires resource-backed Game construction. Manual check: save nondefault GUI scale and muted audio, restart, and verify both on the title screen before changing any option. No client was launched and the primary preview binary is unchanged.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/150 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/startup-settings` --- ### 📝 Commits (1) - [`0dd8ed5`](https://github.com/horizon-rust/horizon/commit/0dd8ed546a7fc47056f98de3da5141f703f1cb55) fix(client): apply saved settings before the title screen ### 📊 Changes **1 file changed** (+1 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+1 -3) </details> ### 📄 Description Saved master/category volume and GUI scale were not applied before the first title screen; they only took effect after changing an option or opening a world. Apply the existing settings method immediately after constructing the game, so startup uses the saved values and retains the existing font/chat settings. Fixes #134. Validation: Rust workspace tests, all 173 Python tests, workspace/all-target Clippy with warnings denied, formatting, diff whitespace, and public-tree history checks pass. No new unit test: the change reuses the existing settings method, and startup requires resource-backed Game construction. Manual check: save nondefault GUI scale and muted audio, restart, and verify both on the title screen before changing any option. No client was launched and the primary preview binary is unchanged. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:55:16 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2355
No description provided.