mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 07:46:43 +02:00
Fix
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user