Commit Graph

28 Commits

Author SHA1 Message Date
missionfloyd 83a9dd82db Download image client-side 2024-03-16 17:10:26 -06:00
missionfloyd 3da13f0cc9 Fix dragging to/from firefox 2024-03-16 15:46:29 -06:00
catboxanon 8eaa7e9f04 Support dragdrop for URLs 2024-03-15 04:06:17 +00:00
ezt19 fdecf813b6
Update dragdrop.js
Fixing a problem when u cannot put two images and they are going into two different places for images.
2023-09-23 20:41:28 +00:00
AUTOMATIC cc2f6e3b7b fix error in dragdrop logic 2023-05-22 15:40:10 +03:00
AUTOMATIC ee65e72931 repair file paste for Firefox from #10615
remove animation when pasting files into prompt
rework two dragdrop js files into one
2023-05-22 09:49:59 +03:00
AUTOMATIC1111 8137bdba61
Merge branch 'dev' into text-drag-fix 2023-05-22 07:15:34 +03:00
missionfloyd a862428902 Fix dragging text to prompt 2023-05-21 18:17:32 -06:00
AUTOMATIC 994f56c3f9 linter fixes 2023-05-19 09:54:55 +03:00
Thottyottyotty 7b61acbd35 split visibility method and sort instead
split out the visibility method for pasting and use a sort inside the paste handler to prioritize on-screen fields rather than targeting ONLY on screen fields
2023-05-18 23:43:01 -07:00
Aarni Koskela 9c54b78d9d Run `eslint --fix` (and normalize tabs to spaces) 2023-05-17 16:09:06 +03:00
MMaker 7c89f3718f
Add image paste fallback
Fixes Firefox pasting support
(and possibly other browsers)
2023-01-03 12:46:48 -05:00
AUTOMATIC 704036ff07 make aspect ratio overlay work regardless of selected localization 2022-10-21 17:11:42 +03:00
AUTOMATIC 3631adfe96 make dragging to prompt work again 2022-10-15 12:58:53 +03:00
AUTOMATIC 33ae6be55e fix paste not working in firefox
fix paste always going into txt2img field
2022-10-14 17:53:34 +03:00
d8ahazard 54e0051bdd Add drag/drop param loading.
Drop an image or generational text onto the prompt bar, it loads the info for parsing.
2022-10-12 18:17:26 -05:00
Connum c0b1177a32 refactored image paste handling to fill unset images successively, then replace last existing image (fixes #981) 2022-09-27 08:59:40 +03:00
Connum b5693699b8 Revert "Reset image input when dragover new image"
This reverts commit 9035afbab5.
2022-09-21 09:13:13 +03:00
Connum e9ba2d42d6 fix image replacement via clipboard paste or drag and drop on PNG Info tab 2022-09-21 09:13:13 +03:00
trufty 9035afbab5 Reset image input when dragover new image 2022-09-20 23:30:36 +03:00
Connum ce47976249 replace existing image via paste or drop in inpaint mode (fixes #649) 2022-09-18 20:00:51 +02:00
Connum 3b56b54557 fix pasting of images from the clipboard in img2img (fixes #645) 2022-09-18 11:42:05 +02:00
AUTOMATIC 5e80c286ee script.js split work - ui.js 2022-09-18 09:00:06 +03:00
AUTOMATIC 74c538e84f script.js split work - dragdrop.js 2022-09-18 08:41:08 +03:00
Andrey 7a0bcd3893 Split history script.js to javascript/dragdrop.js 2022-09-18 08:37:57 +03:00
AUTOMATIC be0bfa871b script.js split work 2022-09-18 08:37:26 +03:00
AUTOMATIC a86c279419 script.js split work 2022-09-18 08:37:03 +03:00
Andrey 4133472a6e Split history script.js to javascript/dragdrop.js 2022-09-18 07:55:07 +03:00