mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Fix
This commit is contained in:
@@ -72,7 +72,7 @@ module.exports = class DrakepostingCommand extends Command {
|
|||||||
}
|
}
|
||||||
ctx.font = '50px Noto';
|
ctx.font = '50px Noto';
|
||||||
fontSize = 50;
|
fontSize = 50;
|
||||||
while (ctx.measureText(yea).width > 3003) {
|
while (ctx.measureText(yeah).width > 3003) {
|
||||||
fontSize--;
|
fontSize--;
|
||||||
ctx.font = `${fontSize}px Noto`;
|
ctx.font = `${fontSize}px Noto`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user