-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(YNOProject): Draw a pixel of random color to resized image #9235
base: main
Are you sure you want to change the base?
Conversation
websites/Y/YNOProject/presence.ts
Outdated
slot = Array.from(Array(6), () => "0"); | ||
slot.splice( | ||
slot.length - colorInHex.length, | ||
colorInHex.length, | ||
...colorInHex.split("") | ||
); | ||
return slot.join(""); | ||
} |
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.
same as padStart(color, 6, "0")
This PR has been marked as stale because it has been inactive for over 14 days. |
Ping. As I have had this effect on for a few days on my browser, keep this draft alive. |
838facc
to
ee88c98
Compare
Description
A nearly transparent pixel is placed at left top on each resize.
Experimental fix: #8879 (comment)
Acknowledgements
yarn format
Screenshots