Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup cvars that are set on boot and in the navigation #2863

Merged

Conversation

garrettjoecox
Copy link
Contributor

@garrettjoecox garrettjoecox commented May 9, 2023

This PR aims to clean up the cvars so that when users back them up or share them they aren't littered with changes they didn't make.

This PR will be accompanied by a smaller PR to LUS (Kenix3/libultraship#204)

This is achieved by:

  • Fixing some issues where we were just setting cvars every frame
  • Making UI checkboxes use defaultValue instead of setting it on startup
  • Fixing some cvars that had incorrect default values

One intentional change with this PR is all windows are consistent now, and will preserve their open/close state through a restart. I see no reason why we should have inconsistency here anyway.

When booting + opening nav before this PR:
Screenshot 2023-05-09 at 12 39 38 PM

When booting + opening nav after this PR:
Screenshot 2023-05-09 at 12 29 39 PM

Build Artifacts

@garrettjoecox garrettjoecox changed the base branch from develop to develop-spock May 10, 2023 04:11
@garrettjoecox garrettjoecox force-pushed the cleanup-startup-cvars branch 3 times, most recently from f4f6217 to 6d16088 Compare May 10, 2023 04:32
@leggettc18 leggettc18 merged commit 2ea72f8 into HarbourMasters:develop-spock May 10, 2023
7 checks passed
@garrettjoecox garrettjoecox deleted the cleanup-startup-cvars branch May 24, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants