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

Use new icons in Worldview #5042

Merged
merged 1 commit into from
Dec 5, 2020

Conversation

Web-eWorks
Copy link
Member

Final feature PR before feature freeze, I promise! This one fought me trying to get everything properly aligned and working.

Now we use Nozmajner's shiny new icons in the worldview and system view...

image

- Minor tweaks to icons.svg
- Change population generation of stations and starports to get usable data
- Refactor ui.registerModule to support reloading
- Add helper function to vertically center text on long (e.g. icon) lines
@Gliese852
Copy link
Contributor

Great! Only the overview window size scares me a little, it seems to have increased, how will this work at a lower resolutions?

@Web-eWorks
Copy link
Member Author

@Gliese852 I tested it at 800x600 and it works just fine; I've made it expand to cover a greater fraction of the screen at smaller resolutions but I consider that to be acceptable behavior as you're going to have it closed most of the time.

@bszlrd
Copy link
Contributor

bszlrd commented Dec 3, 2020

@Web-eWorks The set has the Libra of Justice icon as well, if you still want it somewhere

@Web-eWorks
Copy link
Member Author

Going to merge this without the Libra set as it's having some rendering issues with the cloned half of the icon. Will integrate that for the next release!

@Web-eWorks Web-eWorks merged commit 0e2aaa1 into pioneerspacesim:master Dec 5, 2020
@Web-eWorks Web-eWorks deleted the worldview-icons branch April 9, 2021 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants