mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
Improvements to cropper
This commit is contained in:
parent
78ca7a346f
commit
46d4096352
@ -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="{
|
||||
|
Loading…
Reference in New Issue
Block a user