fix(nds): remove all top baselines
This commit is contained in:
@@ -12,12 +12,12 @@ const drawTextWithShadow = (
|
||||
y: number,
|
||||
) => {
|
||||
ctx.fillStyle = color === "white" ? "#505050" : "#a8b8b8";
|
||||
ctx.fillText(text, x + 1, y + 0);
|
||||
ctx.fillText(text, x + 1, y + 1);
|
||||
ctx.fillText(text, x + 0, y + 1);
|
||||
ctx.fillText(text, x + 1, y + 13 + 0);
|
||||
ctx.fillText(text, x + 1, y + 13 + 1);
|
||||
ctx.fillText(text, x + 0, y + 13 + 1);
|
||||
|
||||
ctx.fillStyle = color === "white" ? "#f8f8f8" : "#101820";
|
||||
ctx.fillText(text, x, y);
|
||||
ctx.fillText(text, x, y + 13);
|
||||
};
|
||||
|
||||
const drawTextWithShadow2Lines = (
|
||||
@@ -58,7 +58,6 @@ const drawTextWithShadow2Lines = (
|
||||
onRender((ctx) => {
|
||||
assets.images.projects.topScreen.background.draw(ctx, 0, 0);
|
||||
|
||||
ctx.textBaseline = "top";
|
||||
ctx.font = "16px Pokemon DP Pro";
|
||||
|
||||
const project = store.projects[store.currentProject];
|
||||
|
||||
Reference in New Issue
Block a user