From 5f38d24272cbc003dd2736e2954991619d575c3c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 1 Jul 2020 11:20:01 -0400 Subject: [PATCH] Just a bit less --- commands/edit-image/wild-pokemon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image/wild-pokemon.js b/commands/edit-image/wild-pokemon.js index 3e7d9c8f..24e40c52 100644 --- a/commands/edit-image/wild-pokemon.js +++ b/commands/edit-image/wild-pokemon.js @@ -65,8 +65,8 @@ module.exports = class WildPokemonCommand extends Command { ctx.drawImage(base, 0, 0); ctx.imageSmoothingEnabled = false; const { x, y, width, height } = centerImagePart(data, 100, 100, 227, 11); - ctx.drawImage(data, x, y, width * 0.25, height * 0.25); - ctx.drawImage(canvas, x, y, width * 0.25, height * 0.25, x, y, width, height); + ctx.drawImage(data, x, y, width * 0.35, height * 0.35); + ctx.drawImage(canvas, x, y, width * 0.35, height * 0.35, x, y, width, height); ctx.imageSmoothingEnabled = true; greyscale(ctx, x, y, width, height); ctx.textBaseline = 'top';