fix(projects): non i18nized text

This commit is contained in:
2026-03-11 00:24:29 +01:00
parent edd5322503
commit 2758a6a8d7
4 changed files with 7 additions and 2 deletions

View File

@@ -56,8 +56,6 @@ const drawTextWithShadow2Lines = (
};
onRender((ctx) => {
assets.images.projects.topScreen.background.draw(ctx, 0, 0);
ctx.font = "16px Pokemon DP Pro";
const project = store.projects[store.currentProject];
@@ -148,6 +146,9 @@ onRender((ctx) => {
"black",
);
drawTextWithShadow(ctx, "white", $t("projects.title"), 7, -1);
drawTextWithShadow(ctx, "black", $t("projects.technologies"), 167, 143);
ctx.fillStyle = `rgba(0, 0, 0, ${store.isIntro ? store.intro.fadeOpacity : store.isOutro ? store.outro.fadeOpacity : 0})`;
ctx.fillRect(0, 0, LOGICAL_WIDTH, LOGICAL_HEIGHT);
});