ChrisNZL / Tallowmere2

Changelog, issue tracker, and development knowledge for Tallowmere 2.
https://tallowmere2.com
13 stars 0 forks source link

Loadout tab: Weapon slots do not appear immediately #1083

Closed ChrisNZL closed 1 year ago

ChrisNZL commented 1 year ago

Found in 0.3.6 / 0.3.6a.

The Loadout tab's weapon slots do not appear properly sometimes. Sometimes requires a click, tap, or interaction with the Filters to make the slots appear.

Need to make the slots appear immediately. (used to appear properly – not sure when this became broken!)

ChrisNZL commented 1 year ago

Fixed in 0.3.6b.

In some recent version, a polling call was added to Categories to ensure things were being executed properly... Said call was continuously forcing the Loadout tab to perform its on-became-activated method, which would sometimes reset its contents' scale to 0 over and over due to a timing issue with how Unity's Canvas visibility and calculations are performed.

Now, better checks are added during such polling calls.


Sometimes with the Radial layout, there's an initial one-frame sizing issue of the slots being too large, but slots resize properly the next frame – good enough for now.