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

Optimize list UI drawer #65

Merged
merged 8 commits into from
Jun 25, 2023
Merged

Optimize list UI drawer #65

merged 8 commits into from
Jun 25, 2023

Conversation

coppermouse
Copy link
Collaborator

I focus on getting the ListUI to be faster and we should not have to rely on not being updated/draw when not mouse over because that makes it not work as well.

I updates the image every frame but since it is cached it should go fast.

Having a cache method have forced me to refactor the code a lot. I must based the cache on values so I broken down the calculations in pure methods.

Also a lot of changes are due to autopep8.

I still see improvements to be done to the list but I think I rather fix those next time I implement a new thing in the list.

@remance remance merged commit 46a34f1 into dev Jun 25, 2023
@remance remance deleted the optimize-list-ui-drawer branch July 14, 2023 09:31
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.

None yet

2 participants