mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 22:34:46 +02:00
Fix
This commit is contained in:
@@ -73,7 +73,7 @@ module.exports = class PlanktonPlanCommand extends Command {
|
|||||||
fontSize -= 1;
|
fontSize -= 1;
|
||||||
ctx.font = `${fontSize}px Noto`;
|
ctx.font = `${fontSize}px Noto`;
|
||||||
}
|
}
|
||||||
const lines = await wrapText(ctx, step, 252);
|
const lines = await wrapText(ctx, step, 160);
|
||||||
ctx.fillText(lines.join('\n'), x, y);
|
ctx.fillText(lines.join('\n'), x, y);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user