Skip to content

Feature check duplicate selections#3

Merged
jsTron merged 5 commits into
developfrom
feature-check-duplicate-selections
Mar 3, 2022
Merged

Feature check duplicate selections#3
jsTron merged 5 commits into
developfrom
feature-check-duplicate-selections

Conversation

@jsTron
Copy link
Copy Markdown
Owner

@jsTron jsTron commented Mar 3, 2022

No description provided.

jsTron added 4 commits March 2, 2022 16:04
* Prevent stats population to League Republic when a player name has been utilized more than once.
* Distill methods.
* Reduce code duplication.
* Refactor code to set and reset color background for player selection duplicates.
* Distill stat send button lockout code.
* Fix web page displaying incorrectly (black frame around page) when viewed from high DPI monitor, such as 4k displays, by adding HighDPI support to Chromium.
var changedComboBox = (sender as ComboBox);
var isHomeTeamBox = _homePlayerBoxes.Any(box => box.Name.Equals(changedComboBox.Name));
var teamBoxes = (isHomeTeamBox ? _homePlayerBoxes : _awayPlayerBoxes);
var otherBoxes = teamBoxes.Where(box => box != changedComboBox);
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

otherBoxes not used. can be removed

@jsTron jsTron merged commit 99dac41 into develop Mar 3, 2022
@jsTron jsTron deleted the feature-check-duplicate-selections branch March 3, 2022 19:07
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.

1 participant