FAForever / fa

Lua code for FAF
221 stars 228 forks source link

Fix unit reclaim statistics in non-default unit layouts #6162

Closed PaletzTheWise closed 1 month ago

PaletzTheWise commented 1 month ago

Description of the proposed changes

There are three UI layouts one can cycle through using the alt-up and alt-down shortcuts.

Root cause:

Notable observations:

Changes:

Testing done on the proposed changes

FixedLeft FixedMini FixedRight

Additional context

There probably should not be three copies of the same code but there are differences in the tooltip queue that need to be reconciled first.

Checklist

Garanas commented 1 month ago

@clyfordv given that you're working on similar files in https://github.com/FAForever/fa/pull/6148, would you be available to review this pull request?