replace existing image via paste or drop in inpaint mode (fixes #649)

master
Connum 3 years ago
parent 21086e60a9
commit ce47976249

@ -9,7 +9,7 @@ function dropReplaceImage( imgWrap, files ) {
return;
}
imgWrap.querySelector('.modify-upload button + button')?.click();
imgWrap.querySelector('.modify-upload button + button, .touch-none + div button + button')?.click();
window.requestAnimationFrame( () => {
const fileInput = imgWrap.querySelector('input[type="file"]');
if ( fileInput ) {

Loading…
Cancel
Save