make sure binkies are rendered with pixelated set
All checks were successful
/ test (push) Successful in 16s
All checks were successful
/ test (push) Successful in 16s
This commit is contained in:
parent
10239c13b7
commit
160f8ceeaa
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue