feat(settings/options/renderingMode): update text
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user