fix(nds): remove all top baselines

This commit is contained in:
2026-02-27 02:03:48 +01:00
parent 6dcf03a38a
commit 6264ad41f8
20 changed files with 57 additions and 71 deletions

View File

@@ -117,11 +117,11 @@ const drawTextWithShadow = (
y: number,
) => {
ctx.fillStyle = "#a2a2aa";
ctx.fillText(text, x + 1, y);
ctx.fillText(text, x + 1, y + 1);
ctx.fillText(text, x, y + 1);
ctx.fillText(text, x + 1, y + 12);
ctx.fillText(text, x + 1, y + 1 + 12);
ctx.fillText(text, x, y + 1 + 12);
ctx.fillStyle = "#515159";
ctx.fillText(text, x, y);
ctx.fillText(text, x, y + 12);
};
onRender((ctx) => {
@@ -135,7 +135,6 @@ onRender((ctx) => {
// text
assets.images.projects.bottomScreen.popupTextBackground.draw(ctx, 2, 146);
ctx.font = "16px Pokemon DP Pro";
ctx.textBaseline = "top";
const displayedText = text.value.slice(
0,
Math.floor(textProgress.value * text.value.length),