mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
fix
This commit is contained in:
@@ -60,7 +60,7 @@ module.exports = class MemeGenCommand extends Command {
|
||||
ctx.lineWidth = 8;
|
||||
ctx.strokeText(topLines[i], base.width / 2, textHeight);
|
||||
ctx.fillStyle = 'white';
|
||||
ctx.fillText(bottomLines[i], base.width / 2, textHeight);
|
||||
ctx.fillText(topLines[i], base.width / 2, textHeight);
|
||||
}
|
||||
const bottomLines = await wrapText(ctx, bottom, base.width - 10);
|
||||
ctx.textBaseline = 'bottom';
|
||||
|
||||
Reference in New Issue
Block a user