-
Notifications
You must be signed in to change notification settings - Fork 2
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
UI improvements #150
base: main
Are you sure you want to change the base?
UI improvements #150
Conversation
Re-opened pull request, please share any opinion regarding the design changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good ideas, thanks! just some code styling issues
Added support for light- and darkmode
Fix transition for RessourceMenu
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
state.addRessources(BuildingSellBenefits[state.buildings[x][y]]); | ||
const sellBenefits = BuildingSellBenefits[building]; | ||
const ressourcesToAdd = Object.fromEntries( | ||
Object.entries(sellBenefits).map(([key, value]) => [key, value]) | ||
); | ||
state.addRessources(ressourcesToAdd); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
No description provided.