fix(nds): remove all top baselines

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

View File

@@ -234,8 +234,6 @@ onMounted(() => {
});
onRender((ctx) => {
ctx.textBaseline = "top";
ctx.save();
ctx.globalAlpha = intro.frameOpacity;
ctx.translate(BOARD_X, BOARD_Y + intro.frameOffsetY);
@@ -281,7 +279,7 @@ onRender((ctx) => {
ctx,
tile.value.toString(),
tile.x + 1,
tile.y + (tile.value <= 2048 ? 9 : 10),
tile.y + (tile.value <= 2048 ? 9 + 9 : 10 + 7),
TILE_SIZE,
);
ctx.restore();