fix(projects): non i18nized text
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user