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