Skip to content

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 force-pushed the cleanup-startup-cvars branch from fb79077 to 47d9138 Compare May 9, 2023 18:41
@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
@garrettjoecox garrettjoecox force-pushed the cleanup-startup-cvars branch from 6d16088 to 46a705b Compare May 10, 2023 04:44
@leggettc18 leggettc18 merged commit 2ea72f8 into HarbourMasters:develop-spock May 10, 2023
@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.

4 participants