We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d4c92 commit 4fc5a8dCopy full SHA for 4fc5a8d
web_src/js/features/comp/Cropper.ts
@@ -8,7 +8,8 @@ type CropperOpts = {
8
9
export async function initCompCropper({container, fileInput, imageSource}: CropperOpts) {
10
const {default: Cropper} = await import(/* webpackChunkName: "cropperjs" */'cropperjs');
11
- let currentFileName = '', currentFileLastModified = 0;
+ let currentFileName = '';
12
+ let currentFileLastModified = 0;
13
const cropper = new Cropper(imageSource, {
14
aspectRatio: 1,
15
viewMode: 2,
0 commit comments