fix(nds): remove all top baselines
This commit is contained in:
@@ -53,7 +53,6 @@ onRender((ctx) => {
|
||||
: store.isOutro
|
||||
? store.outro.stage1Opacity
|
||||
: 1;
|
||||
ctx.textBaseline = "top";
|
||||
|
||||
for (let i = CREDITS.length - 1; i >= CREDITS_TOP_SCREEN_COUNT; i--) {
|
||||
const id = CREDITS[i]!;
|
||||
@@ -74,7 +73,7 @@ onRender((ctx) => {
|
||||
ctx,
|
||||
$t(`creditsScreen.${id}.label`),
|
||||
0,
|
||||
y,
|
||||
y + 7,
|
||||
LOGICAL_WIDTH,
|
||||
);
|
||||
|
||||
@@ -84,7 +83,7 @@ onRender((ctx) => {
|
||||
ctx,
|
||||
$t(`creditsScreen.${id}.author`),
|
||||
0,
|
||||
y + CREDITS_LINE_HEIGHT,
|
||||
y + CREDITS_LINE_HEIGHT + 9,
|
||||
LOGICAL_WIDTH,
|
||||
);
|
||||
|
||||
@@ -94,7 +93,7 @@ onRender((ctx) => {
|
||||
ctx,
|
||||
$t(`creditsScreen.${id}.url`),
|
||||
0,
|
||||
y + CREDITS_LINE_HEIGHT * 2,
|
||||
y + CREDITS_LINE_HEIGHT * 2 + 7,
|
||||
LOGICAL_WIDTH,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user