diff --git a/src/methods.js b/src/methods.js index b9fe6e0..1c78434 100644 --- a/src/methods.js +++ b/src/methods.js @@ -32,7 +32,7 @@ export default function methods () { let innerAspectRadio = res.width / res.height self.croperTarget = res.path - + if (innerAspectRadio < width / height) { self.rectX = x self.baseWidth = width