Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loadout tab: Weapon slots do not appear immediately #1083

Closed
ChrisNZL opened this issue Sep 30, 2022 · 1 comment
Closed

Loadout tab: Weapon slots do not appear immediately #1083

ChrisNZL opened this issue Sep 30, 2022 · 1 comment
Labels
🦟 bug Something's wrong. ⚠ priority++ Top priority like all the other issues + 2. 🖼 ui 🪓 weapons Related to weapons.
Milestone

Comments

@ChrisNZL
Copy link
Owner

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 ChrisNZL added 🦟 bug Something's wrong. 🖼 ui 🪓 weapons Related to weapons. ⚠ priority++ Top priority like all the other issues + 2. labels Sep 30, 2022
@ChrisNZL ChrisNZL added this to the 0.3.6b milestone Sep 30, 2022
@ChrisNZL ChrisNZL pinned this issue Sep 30, 2022
@ChrisNZL
Copy link
Owner Author

ChrisNZL commented Oct 1, 2022

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.

@ChrisNZL ChrisNZL closed this as completed Oct 1, 2022
@ChrisNZL ChrisNZL unpinned this issue Oct 2, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦟 bug Something's wrong. ⚠ priority++ Top priority like all the other issues + 2. 🖼 ui 🪓 weapons Related to weapons.
Projects
None yet
Development

No branches or pull requests

1 participant