diff options
| author | dakkar <dakkar@thenautilus.net> | 2025-03-18 19:35:21 +0000 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2025-03-18 19:38:10 +0000 |
| commit | a9bad939ba2de2c806fa120cabdbe9703e637c6b (patch) | |
| tree | 2268ef0f3621d6b5ca60037f456289bca0293866 /packages/backend/src/queue/QueueProcessorService.ts | |
| parent | merge: Convert Authorized Fetch to a setting and add support for hybrid mode ... (diff) | |
| download | sharkey-a9bad939ba2de2c806fa120cabdbe9703e637c6b.tar.gz sharkey-a9bad939ba2de2c806fa120cabdbe9703e637c6b.tar.bz2 sharkey-a9bad939ba2de2c806fa120cabdbe9703e637c6b.zip | |
fix notification dot
1) the `crossOrigin='anonymous'` tells the browser to actually honour
CORS on the image
2) the dot is now always 1/5 of the icon, even for large icons
3) we use `toBlob` instead of `toDataURL` because
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL
says so
4) the test now blinks the dot, so it tests the actual code
5) 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.
Diffstat (limited to 'packages/backend/src/queue/QueueProcessorService.ts')
0 files changed, 0 insertions, 0 deletions