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

Inventory overlap #649

Merged
merged 3 commits into from
Jun 15, 2020
Merged

Inventory overlap #649

merged 3 commits into from
Jun 15, 2020

Conversation

neoancient
Copy link
Member

Fixes a text overlap issue in the inventory section of a record sheet. When the name or damage entry is too long to fit in the space it is split over multiple lines. There is a logic error that only moves the starting y coordinate of the next row of the text the necessary extra amount if the multi-line row is the last one in the entry.
Example:
Screenshot from 2020-06-14 13-29-11

In additional to correcting the logic error, I reduced the need for multiline text by limiting the (IS) and (Clan) indicators used on mixed tech units to equipment that has both IS and Clan variants. So in this example the AMS shows as (IS), but there is no need to specify the improved gauss rifle, which has no Clan version, or the prototype ER small lasers or improved LRM, which have no IS version.
Screenshot from 2020-06-14 13-29-39

@github-actions
Copy link

Build scan available at https://gradle.com/s/bxx2tbhl3zhkg

@neoancient neoancient merged commit f452960 into master Jun 15, 2020
@neoancient neoancient deleted the inventory_overlap branch June 15, 2020 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants