Use ImagePicker also in profile view

This commit is contained in:
Johannes Zellner
2025-03-19 01:22:13 +01:00
parent c4026c8e78
commit e70ea6f202
2 changed files with 6 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ function onChanged(event) {
fr.onload = function () {
const image = new Image();
image.onload = function () {
const size = props.size ? parseInt(props.size) : 0;
const size = props.size ? parseInt(props.size) : 512;
const maxSize = props.maxSize ? parseInt(props.maxSize) : 0;
const canvas = document.createElement('canvas');