mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Test
This commit is contained in:
@@ -76,6 +76,7 @@ module.exports = class SpongebobTimeCardCommand extends Command {
|
||||
ctx.font = this.client.fonts.get('Spongeboytt1.ttf').toCanvasString(fontSize);
|
||||
metrics = ctx.measureText(lines.join('\n'));
|
||||
lines = wrapText(ctx, text.toUpperCase(), 1800);
|
||||
console.log(lines);
|
||||
}
|
||||
const topMost = (canvas.height / 2) - (((fontSize * lines.length) / 2) + ((60 * (lines.length - 1)) / 2));
|
||||
for (let i = 0; i < lines.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user