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