KnossosNET / Knossos.NET

Repository for the Knossos.NET launcher, currently in development.
GNU General Public License v3.0
26 stars 10 forks source link

Make mod detail selection consistent #155

Closed BMagnu closed 7 months ago

BMagnu commented 7 months ago

Previously, clicking detail on a mod card could cause two annoyances:

  1. Clicking detail, regardless of current mod selection, would always select the first build in the mod list. This is somewhat unintuitive, since users probably don't expect a change just from clicking on detail. Changed to actually open the detail pane on whatever mod version was selected.
  2. The mod list is not properly ordered by version. Hence, not only is the version list itself completely all over the place, but also the "select first" issue would select a potentially old version of the mod. This fixes this, by properly resorting the list whenever a mod is added
wookieejedi commented 7 months ago

Tested and works for me. Also looks good, so I would say this is good to merge whenever