From 8defe46be01733a675bdb83a35e4d07ec824c3ee Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 9 Jan 2021 15:59:47 -0500 Subject: [PATCH] In between the two --- commands/edit-image/pet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image/pet.js b/commands/edit-image/pet.js index 87772724..c72a66e9 100644 --- a/commands/edit-image/pet.js +++ b/commands/edit-image/pet.js @@ -52,8 +52,8 @@ module.exports = class PetCommand extends Command { ctx.drawImage(frame, 0, 0); encoder.addFrame(ctx); ctx.clearRect(0, 0, canvas.width, canvas.height); - if (i + 1 > frameCount / 2) squish -= 5; - else squish += 5; + if (i + 1 > frameCount / 2) squish -= 4; + else squish += 4; } encoder.finish(); const buffer = await streamToArray(stream);