mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +02:00
Fix
This commit is contained in:
@@ -68,7 +68,7 @@ module.exports = class IllegalCommand extends Command {
|
|||||||
encoder.addFrame(ctx);
|
encoder.addFrame(ctx);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
ctx.textBaseline = 'top';
|
ctx.textBaseline = 'middle';
|
||||||
ctx.font = '20px Impact';
|
ctx.font = '20px Impact';
|
||||||
ctx.textAlign = 'center';
|
ctx.textAlign = 'center';
|
||||||
const maxLen = frame.corners[1][0] - frame.corners[0][0];
|
const maxLen = frame.corners[1][0] - frame.corners[0][0];
|
||||||
|
|||||||
Reference in New Issue
Block a user