fix(nds): remove all top baselines
This commit is contained in:
@@ -116,7 +116,6 @@ onRender((ctx) => {
|
||||
? store.intro.stage3Opacity
|
||||
: store.outro.stage1Opacity;
|
||||
|
||||
ctx.textBaseline = "top";
|
||||
ctx.font = "10px NDS10";
|
||||
ctx.fillStyle = "#515151";
|
||||
|
||||
@@ -135,7 +134,7 @@ onRender((ctx) => {
|
||||
const pressedKey: `${typeof selected.value}Pressed` = `${button}Pressed`;
|
||||
assets[isPressed ? pressedKey : button].draw(ctx, x + 1, y + 1);
|
||||
|
||||
ctx.fillText(text, x + 36, y + 11);
|
||||
ctx.fillText(text, x + 36, y + 11 + 9);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user