mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-26 10:13:48 +02:00
add cropper for change avatar/world image dialog
This commit is contained in:
@@ -22,7 +22,8 @@ function getInputElement(selector) {
|
||||
export function handleImageUploadInput(event, options = {}) {
|
||||
const {
|
||||
inputSelector,
|
||||
maxSize = 100000000,
|
||||
// 20MB
|
||||
maxSize = 20000000,
|
||||
acceptPattern = /image.*/,
|
||||
tooLargeMessage,
|
||||
invalidTypeMessage,
|
||||
|
||||
Reference in New Issue
Block a user