This commit is contained in:
Dragon Fire
2020-07-14 09:42:14 -04:00
parent 72d1d9d777
commit d23af60adc
+1 -1
View File
@@ -75,7 +75,7 @@ module.exports = class IllegalCommand extends Command {
const heightMid = frame.corners[2][1] - frame.corners[0][1];
const maxLen = frame.corners[0][0] - frame.corners[2][0];
ctx.fillText(`${text}\n${verb} NOW\nILLEGAL`, widthMid, heightMid, maxLen);
encoder.addFrame(Ctx);
encoder.addFrame(ctx);
ctx.clearRect(0, 0, canvas.width, canvas.height);
}
encoder.finish();