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

ENH: Display SC information on snackbar #447

Open
wants to merge 1 commit into
base: beta
Choose a base branch
from

Conversation

mgxd
Copy link

@mgxd mgxd commented Dec 8, 2022

This adds a * after the province name to the snackbar text on click if the province is an SC.

At times, units may block the icon on the province, making it difficult to identify (especially when playing a variant for the first time)
live
patch

Not sure how to test this, but I've browsed finished games of different variants and this patch seems to work as expected.

P.S. Thank you for developing / hosting this service, it is very sleek 😃

@mgxd mgxd changed the base branch from master to beta December 8, 2022 19:46
@mgxd mgxd force-pushed the enh/snackbar-sc-star branch from 58f286a to 474c276 Compare December 8, 2022 19:49
@zond
Copy link
Owner

zond commented Dec 9, 2022

Looks simple and nice to me, but @johnpooch is main frontend developer so I'll let him decide :)

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