mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Fix
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = class TuxedoPoohCommand extends Command {
|
||||
const ctx = canvas.getContext('2d');
|
||||
ctx.drawImage(base, 0, 0);
|
||||
ctx.textAlign = 'center';
|
||||
ctx.textBaseline = 'middle';
|
||||
ctx.textBaseline = 'top';
|
||||
ctx.font = '50px Noto';
|
||||
let fontSize = 50;
|
||||
while (ctx.measureText(normal).width > 1320) {
|
||||
|
||||
Reference in New Issue
Block a user