This commit is contained in:
Dragon Fire
2020-07-14 10:10:30 -04:00
parent c9da7ccacc
commit c911d1b9e1
+1 -1
View File
@@ -68,7 +68,7 @@ module.exports = class IllegalCommand extends Command {
encoder.addFrame(ctx);
continue;
}
ctx.textBaseline = 'top';
ctx.textBaseline = 'middle';
ctx.font = '20px Impact';
ctx.textAlign = 'center';
const maxLen = frame.corners[1][0] - frame.corners[0][0];