feat(nds): add pressed state for all buttons
This commit is contained in:
@@ -246,13 +246,21 @@ onRender((ctx) => {
|
||||
|
||||
onRender((ctx) => {
|
||||
ctx.translate(0, intro.scoreOffsetY);
|
||||
drawButton(ctx, `${$t("settings.options.2048.score")}: ${score}`, 10, 2, 118);
|
||||
drawButton(
|
||||
ctx,
|
||||
`${$t("settings.options.2048.score")}: ${score}`,
|
||||
10,
|
||||
2,
|
||||
118,
|
||||
false,
|
||||
);
|
||||
drawButton(
|
||||
ctx,
|
||||
`${$t("settings.options.2048.highScore")}: ${savedState.value.highScore}`,
|
||||
138,
|
||||
2,
|
||||
108,
|
||||
false,
|
||||
);
|
||||
}, 110);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user