fix(nds): remove all top baselines
This commit is contained in:
@@ -134,7 +134,6 @@ const handleActivateA = () => {
|
||||
|
||||
onRender((ctx) => {
|
||||
ctx.font = "10px NDS10";
|
||||
ctx.textBaseline = "top";
|
||||
|
||||
const drawButton = (
|
||||
title: string,
|
||||
@@ -162,7 +161,7 @@ onRender((ctx) => {
|
||||
ctx.fillStyle = "#282828";
|
||||
const descKey = key === "_3dMode" ? "3dDescription" : "2dDescription";
|
||||
const text = $t(`settings.options.renderingMode.${descKey}`);
|
||||
fillTextHCenteredMultiline(ctx, text, 0, y, buttonWidth, 15);
|
||||
fillTextHCenteredMultiline(ctx, text, 0, 20 + 9, buttonWidth, 15);
|
||||
|
||||
ctx.translate(0, animation[key].headerOffsetY);
|
||||
headerImg.draw(ctx, 0, 0, colorOpts);
|
||||
|
||||
Reference in New Issue
Block a user