Update pride to use filter instead of colour, save on repaints #212

Closed
top wants to merge 3 commits from <deleted>:feature/top/pride-fix into master

This seems to have significant performance increases based on the profiler anyways

This seems to have significant performance increases based on the profiler anyways
top added 1 commit 2023-10-06 19:26:41 +00:00
top force-pushed feature/top/pride-fix from 7276a4899f to 13aab85082 2023-10-06 19:35:18 +00:00 Compare

Updated to keep the part where it flashes the user's original color

Updated to keep the part where it flashes the user's original color

Edit: done

Edit: done
top added 1 commit 2023-10-06 19:46:59 +00:00

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

image

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% https://fsdfsd.net/rDrama/rDrama/commit/8e6e8e1e509ce120fb4829c137472133c6577b94 ![image](/attachments/cda04720-8fa6-439c-803d-4ee7a8ef055b)

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.

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.
top closed this pull request 2023-10-06 20:56:48 +00:00

the earlier version doesn't flash the user's username color like the current one does

who cares lol

> the earlier version doesn't flash the user's username color like the current one does who cares lol

Pull request closed

Sign in to join this conversation.
There is no content yet.