This commit is contained in:
Dragon Fire
2024-03-24 14:08:05 -04:00
parent b39e38fd10
commit c1d62edd5c
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = class FacesCommand extends Command {
ctx.fillStyle = 'blue';
ctx.fillRect(face.box.xMin, face.box.yMin, 10, face.box.height);
ctx.fillRect(face.box.xMin, face.box.yMin, face.box.width, 10);
ctx.fillRect(face.box.xMin, face.box.yMax, face.box.width, 10);
ctx.fillRect(face.box.xMin, face.box.yMax, face.box.width + 10, 10);
ctx.fillRect(face.box.xMax, face.box.yMin, 10, face.box.height);
}
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'faces.png' }] });