From 160f8ceeaa852763ee7cf546c88a35502f8bcb64 Mon Sep 17 00:00:00 2001 From: sophie Date: Mon, 25 Nov 2024 13:35:26 +0200 Subject: [PATCH] make sure binkies are rendered with pixelated set --- website/scripts/binkies.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/scripts/binkies.ts b/website/scripts/binkies.ts index 284d02f..d6f5aea 100644 --- a/website/scripts/binkies.ts +++ b/website/scripts/binkies.ts @@ -37,6 +37,7 @@ binky.forEach((z, i) => { img.src = `/assets/binkies/${g}`; img.alt = `!! binkie !!`; + img.style.imageRendering = "pixelated"; binkies.appendChild(img); }); return; @@ -52,7 +53,9 @@ binky.forEach((z, i) => { img.src = `/assets/binkies/${z[1]}`; img.width = 88; img.height = 31; - img.alt = `${z[0]} binkie`; + img.alt = `binkie for ${z[0]}`; + img.style.imageRendering = "pixelated"; + a.appendChild(img); binkies.appendChild(a); });