mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Fix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user