wabbajack-tools / wabbajack-tools.github.io

Code for wabbajack.org
https://www.wabbajack.org/
Other
4 stars 11 forks source link

Clear selected tags when a new game is selected #476

Closed AlexGarrity closed 1 year ago

AlexGarrity commented 1 year ago

Just a quick PR to clear the selected tags when a new game is selected in the gallery, as otherwise it can look like there are no modpacks for a game if, for example, Survival, Roleplay, and Creation Club were selected before changing the selected game to Kerbal Space Program.

Unsure why git thinks it's 114 additions, 111 deletions - all I did was add SelectedTags.Clear(); after line 54.

erri120 commented 1 year ago

Just a quick PR to clear the selected tags when a new game is selected in the gallery, as otherwise it can look like there are no modpacks for a game if, for example, Survival, Roleplay, and Creation Club were selected before changing the selected game to Kerbal Space Program.

Unsure why git thinks it's 114 additions, 111 deletions - all I did was add SelectedTags.Clear(); after line 54.

The line endings changed from LF to CRLF. Not really problem, just made this a bit weird.