This commit is contained in:
Dragon Fire
2020-11-04 13:22:33 -05:00
parent b43b9e5337
commit 4359413fe0
+4 -4
View File
@@ -80,10 +80,10 @@ module.exports = class IllegalCommand extends Command {
ctx.textBaseline = 'top';
ctx.font = '20px Impact';
const rect = {
x: frame.corners[0][0],
y: frame.corners[0][1],
width: frame.corners[0][0],
height: frame.corners[1][0]
x: frame.corners[0][1],
y: frame.corners[0][0],
width: frame.corners[1][0],
height: frame.corners[0][0]
};
drawText(ctx, `${text}\n${verb} NOW\nILLEGAL`, impactFont, rect, {
minSize: 5,