Unit selector G/P option#8289
Open
SJuliez wants to merge 1 commit into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8289 +/- ##
============================================
- Coverage 30.00% 29.99% -0.01%
+ Complexity 17927 17915 -12
============================================
Files 3199 3199
Lines 311610 311606 -4
Branches 54369 54364 -5
============================================
- Hits 93492 93477 -15
- Misses 208420 208455 +35
+ Partials 9698 9674 -24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
psikomonkie
requested changes
May 30, 2026
Member
There was a problem hiding this comment.
One change needed: Copyright on CommonSettingsDialog. Everything code wise looks great & I'm otherwise ready to approve.
I love learning about a feature by seeing a PR where it's replaced by a better version!!
This looks fantastic. The caveats about the old implementation just make it seem so... Unhelpful. This is such a good change that I can see myself using. Thank you!
| @@ -1,3 +1,3 @@ | |||
| /* | |||
| * Copyright (c) 2003-2005 - Ben Mazur (bmazur@sev.org) | |||
| * Copyright (C) 2003-2025 The MegaMek Team. All Rights Reserved. | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This moves the unit selector gunnery/piloting toggle directly into the unit selector where it is used exclusively and removes it from the GUI settings, see below. The G/P toggle still saves its state to the client preferences, so the unit selector will remember the latest setting.
Other changes: