fix(nds): remove all top baselines
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user