This commit is contained in:
Dragon Fire
2021-03-27 16:52:58 -04:00
parent 338d1e9011
commit f3189e7f89
-1
View File
@@ -52,7 +52,6 @@ module.exports = class SnapchatCommand extends Command {
const ctx = canvas.getContext('2d');
ctx.drawImage(base, 0, 0);
ctx.textAlign = 'center';
ctx.textBaseline = 'top';
ctx.font = this.client.fonts.get('Noto-Regular.ttf').toCanvasString(base.height / 24);
const barHeight = (base.height / 24) * 2;
const barPosition = base.height - (base.height / 3);