feat(settings/options/renderingMode): update text

This commit is contained in:
2026-02-10 14:23:03 +01:00
parent 9843379126
commit 43e39f7324
2 changed files with 4 additions and 2 deletions

View File

@@ -148,7 +148,8 @@ onRender((ctx) => {
bodyImg.draw(ctx, 0, HEADER_HEIGHT - 2, colorOpts);
ctx.fillStyle = "#282828";
const text = $t("settings.options.renderingMode.autoStart");
const descKey = key === "_3dMode" ? "3dDescription" : "2dDescription";
const text = $t(`settings.options.renderingMode.${descKey}`);
fillTextHCenteredMultiline(ctx, text, 0, y, buttonWidth, 15);
ctx.translate(0, animation[key].headerOffsetY);