Fix presence embed with certain Splatoon 3 schedule images

This commit is contained in:
Samuel Elliott 2024-01-13 00:37:21 +00:00
parent 4b5f1898eb
commit ff3f8e1704
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -153,7 +153,6 @@ export function renderUserEmbedSvg(
if (title_extra) height += title_extra[1];
return htmlentities`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- ${JSON.stringify(result, null, 4)} -->
<svg
width="${(width + (transparent ? -60 : 0)) * scale}"
height="${(height + (transparent ? -60 : 0)) * scale}"