make sure binkies are rendered with pixelated set
All checks were successful
/ test (push) Successful in 16s

This commit is contained in:
Soph :3 2024-11-25 13:35:26 +02:00
parent 10239c13b7
commit 160f8ceeaa
Signed by: sophie
GPG key ID: EDA5D222A0C270F2

View file

@ -37,6 +37,7 @@ binky.forEach((z, i) => {
img.src = `/assets/binkies/${g}`; img.src = `/assets/binkies/${g}`;
img.alt = `!! binkie !!`; img.alt = `!! binkie !!`;
img.style.imageRendering = "pixelated";
binkies.appendChild(img); binkies.appendChild(img);
}); });
return; return;
@ -52,7 +53,9 @@ binky.forEach((z, i) => {
img.src = `/assets/binkies/${z[1]}`; img.src = `/assets/binkies/${z[1]}`;
img.width = 88; img.width = 88;
img.height = 31; img.height = 31;
img.alt = `${z[0]} binkie`; img.alt = `binkie for ${z[0]}`;
img.style.imageRendering = "pixelated";
a.appendChild(img); a.appendChild(img);
binkies.appendChild(a); binkies.appendChild(a);
}); });