diff --git a/src/App.vue b/src/App.vue index b002884..78441d9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -38,7 +38,7 @@ const targetSize = computed(() => { if (!srcWidth.value || !srcHeight.value) { return 100; } - return Math.min(srcWidth.value, srcHeight.value); + return Math.min(1024, srcWidth.value, srcHeight.value); }); const input = useTemplateRef("input");