Improvements to cropper

This commit is contained in:
Nassim Jahnke 2023-04-08 11:14:12 +02:00
parent 78ca7a346f
commit 46d4096352
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -19,15 +19,17 @@
:src="cropperInput"
class="h-200px"
:min-height="150"
:default-size="{
width: 256,
height: 256,
}"
:canvas="{
imageSmoothingQuality: 'high',
maxWidth: 256,
maxHeight: 256,
}"
:stencil-props="{
handlers: {},
movable: false,
scalable: false,
handlers: { eastNorth: true, westNorth: true, eastSouth: true, westSouth: true },
movable: true,
scalable: true,
aspectRatio: 1,
}"
:resize-image="{