This commit is contained in:
Daniel Odendahl Jr
2019-02-08 16:47:29 +00:00
parent a19df819ce
commit a51c9c7264
+1 -1
View File
@@ -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';