16
Preview Build Discussion / Re: Bug when switching skins in Preview v1.99.11.18916
« on: May 06, 2024, 11:00:01 PM »It's likely how I'm mapping the skin file / folder to a menu item indexIt was that but not quite as I first thought. The problem is that it's adding invalid items (e.g. empty folders or non-skin files) into the internal list which shouldn't have been happening & when there's mostly no other skins than the default skins it ends up using the wrong entry due to it finding them before the default skins when the a/b naming aspect is involved.
The alphabetical order is somewhat involved but the default skins per the skin manager prefs page also note those are excluded from the default alphabetical sorting & with the invalid item in that list it skews the mappings & so the wrong skin gets used.
tl;dr: needed to move 1 line of code to after some skin validation checks were done.
-dro