This commit is contained in:
Daniel Odendahl Jr
2018-09-14 23:04:39 +00:00
parent 4019de8fce
commit c1601bdd8c
3 changed files with 2 additions and 4 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 KiB

After

Width:  |  Height:  |  Size: 517 KiB

+1 -2
View File
@@ -37,8 +37,7 @@ module.exports = class ApprovedCommand extends Command {
ctx.drawImage(data, 0, 0);
const dataRatio = data.width / data.height;
const baseRatio = base.width / base.height;
let width = data.width;
let height = data.height;
let { width, height } = data;
let x = 0;
let y = 0;
if (baseRatio < dataRatio) {
+1 -2
View File
@@ -37,8 +37,7 @@ module.exports = class RejctedCommand extends Command {
ctx.drawImage(data, 0, 0);
const dataRatio = data.width / data.height;
const baseRatio = base.width / base.height;
let width = data.width;
let height = data.height;
let { width, height } = data;
let x = 0;
let y = 0;
if (baseRatio < dataRatio) {