mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -47,8 +47,8 @@ module.exports = class DannyDevitoCommand extends Command {
|
||||
const height = danny.height * ratio;
|
||||
ctx.drawImage(
|
||||
danny,
|
||||
face.box.xMin - (face.box.width * 0.5),
|
||||
face.box.yMin - (height / 2) - (height * 0.5),
|
||||
face.box.xMin - (face.box.width * 0.2),
|
||||
face.box.yMin - (height / 2) - (height * 0.2),
|
||||
face.box.width * 1.25,
|
||||
height * 1.25
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user