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

2696: Added coloring to the Unit List on the Personnell assignment menus #3244

Merged
merged 4 commits into from
Apr 27, 2022

Conversation

swang300
Copy link
Contributor

This resolves #2696 I was looking for a good place to put the coloring, but didn't see a common place any better than in Unit.

Copy link
Contributor

@Windchild292 Windchild292 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please swap this from tab spacing to 4 space spacing, and remove the SerialVersionUid fields as they are completely useless (only MegaMek save games use java.io.Serialization, and that is planned for removal in the near future).

There's also a few spacing change comments, but otherwise this looks good.

MekHQ/src/mekhq/campaign/unit/Unit.java Outdated Show resolved Hide resolved
MekHQ/src/mekhq/campaign/unit/Unit.java Outdated Show resolved Hide resolved
MekHQ/src/mekhq/campaign/unit/Unit.java Outdated Show resolved Hide resolved
MekHQ/src/mekhq/campaign/unit/Unit.java Show resolved Hide resolved
@swang300
Copy link
Contributor Author

Definitely fixed the spacing issues and the extra lines. I think I fixed the tab-space issues. Not too sure though with git commit transformations.

Copy link
Contributor

@Windchild292 Windchild292 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still has the serialVersionUID fields, which we don't accept.

Copy link
Contributor

@Windchild292 Windchild292 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SerialVersionUID still exists in the two menus

Copy link
Contributor

@Windchild292 Windchild292 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@Windchild292 Windchild292 merged commit 67edc6c into MegaMek:master Apr 27, 2022
@swang300
Copy link
Contributor Author

Sorry about that. did a search just in case. FYI there's one more in CompanyGenerationOptions

@Windchild292
Copy link
Contributor

I know, I've just been waiting for the final MM removal to remove any missed remnants from changes that predate the start of the removal.

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.

RFE: Coloured Unit Assignment in Personnel Tab
2 participants