Skip to content

1.25.4: feat: HUD customization#71

Merged
kosa12 merged 1 commit into
masterfrom
feat/hud-customization
Feb 26, 2026
Merged

1.25.4: feat: HUD customization#71
kosa12 merged 1 commit into
masterfrom
feat/hud-customization

Conversation

@kosa12

@kosa12 kosa12 commented Feb 26, 2026

Copy link
Copy Markdown
Owner

HUD Appearance Customization:

  • Added new fields (opacity, border_radius, font_size) to the HudConfig struct, with appropriate defaults and serialization/deserialization in the config loader and saver (src/config/hud.rs). [1] [2] [3] [4]
  • Updated the HUD CSS generation to use these new config values, replacing the previous dependency on StyleConfig (src/ui/hud.rs). [1] [2] [3] [4] [5] [6]

Settings UI Enhancements:

  • Added a new "HUD Appearance" section to the HUD settings page, allowing users to adjust opacity, border radius, and font size interactively. Changes are saved to the config and reflected live (src/ui/settings/hud.rs).

Code Cleanup:

  • Removed the unused import of StyleConfig from src/ui/hud.rs as it is no longer needed.

@kosa12 kosa12 self-assigned this Feb 26, 2026
@kosa12 kosa12 added the enhancement New feature or request label Feb 26, 2026
@kosa12 kosa12 marked this pull request as ready for review February 26, 2026 18:49
@kosa12 kosa12 merged commit 2a57fe1 into master Feb 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant