Skip to content

Commit

Permalink
Merge pull request #2043 from Human-Connection/fix-1993
Browse files Browse the repository at this point in the history
fix #1993
  • Loading branch information
mattwr18 committed Oct 27, 2019
2 parents 7aa84d1 + cd9a15e commit ca63a3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/components/TeaserImage/TeaserImage.vue
Expand Up @@ -65,7 +65,7 @@ export default {
<div data-dz-thumbnail-bg></div>
</div>
</div>
`
`
},
verror(file, message) {
this.error = true
Expand Down Expand Up @@ -111,7 +111,7 @@ export default {
image.src = URL.createObjectURL(file)
editor.appendChild(image)
// Create Cropper.js and pass image
let cropper = new Cropper(image, { zoomable: false })
let cropper = new Cropper(image, { zoomable: false, autoCropArea: 1.0 })
},
dropzoneDrop() {
let cropOverlay = document.querySelectorAll('.crop-overlay')[0]
Expand Down

0 comments on commit ca63a3b

Please sign in to comment.