fix notification dot
What does this MR do?
fix notification dot
-
the
crossOrigin='anonymous'tells the browser to actually honour CORS on the image -
the dot is now always 1/5 of the icon, even for large icons
-
we use
toBlobinstead oftoDataURLbecause https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL says so -
the test now blinks the dot, so it tests the actual code
-
if there's a problem during the test, we log the error, so people can tell it to us
Thanks to Ares on Discord for reporting the problems.
Contribution Guidelines
By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this merge request