Update pride to use filter instead of colour, save on repaints #212
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: rDrama/rDrama#212
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "<deleted>:feature/top/pride-fix"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This seems to have significant performance increases based on the profiler anyways
7276a4899f
to13aab85082
Updated to keep the part where it flashes the user's original color
Edit: done
the last version has the same CPU usage as my original implementation
I implemented an earlier version of ur code that reduced CPU usage by around 50%
8e6e8e1e50
Just note that the earlier version doesn't flash the user's username color like the current one does. It is way more performant though. The only way I can think to get around that without repainting if it's desired behavior is to perfectly overlap the pride box and just make it transparent for 20% of the animation.
who cares lol
Pull request closed