-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
UnitTable: show a summary when no unit is selected #12832
Conversation
…s any time. Refactor UnitTable to have separate Presenters for units, cities, spies and no selection.
UnitTable mixes logic, UI and data, which is not ideal, but it also handled all different entities in one class. I separated out the Presenters for units, cities, spies and non-selection, so it is easier to extend and work with now. It's not perfect though, because it still mixes logic, UI and data, but I didn't want to rewrite everything at the risk of breaking things. |
Separating "presenters" -> Fantastic 👍🏿 |
This comment was marked as resolved.
This comment was marked as resolved.
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Self conflicts |
# Conflicts: # core/src/com/unciv/ui/screens/worldscreen/unit/UnitTable.kt
Conflicts have been resolved. |
Wait, what is the X for? Does it close it? |
That's an old screenshot and got fixed, that window never shows an (x). Also the unit panel in general has a lot of potential. I wish I had more time for unciv 🙂 |
Changes
,.