mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -66,8 +66,9 @@ module.exports = class MemeGenModernCommand extends Command {
|
||||
const linesLen = (40 * lines.length)
|
||||
+ (40 * (lineBreakLen - 1))
|
||||
+ (14 * lines.length)
|
||||
+ (14 * (lineBreakLen - 1));
|
||||
canvas.height += linesLen + 14;
|
||||
+ (14 * (lineBreakLen - 1))
|
||||
+ 14;
|
||||
canvas.height += linesLen;
|
||||
ctx.font = '40px Noto';
|
||||
ctx.textBaseline = 'top';
|
||||
ctx.fillStyle = 'white';
|
||||
|
||||
Reference in New Issue
Block a user