Commit Graph

307 Commits

Author SHA1 Message Date
Lt.Dr.Data
66ace3b55b show "clipspace/filename.png" instead of 'filename.png [clipspace]' in LoadImage/LoadImageMask 2023-05-04 10:54:43 +09:00
Lt.Dr.Data
3a28a28000 save clipspace files to input/clipspace instead of temp 2023-05-02 15:32:39 +09:00
ltdrdata
8c8bedbaf2
Merge branch 'comfyanonymous:master' into feature/maskpainting 2023-05-02 11:28:48 +09:00
EllangoK
81bee39ca0 style everything
styles searchbox, should be actually everything
2023-05-01 15:57:10 -04:00
EllangoK
6aae1f497f style context menu
fix graphdialog background, and palette template
2023-05-01 13:16:19 -04:00
ltdrdata
2f943e6f23
Merge branch 'comfyanonymous:master' into feature/maskpainting 2023-05-01 11:53:41 +09:00
ltdrdata
025fcacf0e
Merge branch 'comfyanonymous:master' into feature/maskpainting 2023-05-01 08:39:54 +09:00
Dr.Lt.Data
06d8ffb71e make default img_paste_mode to 'selected'
refactor space -> tab
2023-05-01 08:39:05 +09:00
comfyanonymous
b04e16ef5a Make default workflow use an existing checkpoint if no SD1.5 checkpoint. 2023-04-30 18:19:03 -04:00
comfyanonymous
2012362493 Adjust node resize area depending on outputs. 2023-04-30 13:02:07 -04:00
ltdrdata
5ea39fed9c
Merge branch 'comfyanonymous:master' into feature/maskpainting 2023-04-30 22:44:39 +09:00
comfyanonymous
4cea9aecda Make nodes easier to resize. 2023-04-29 20:53:03 -04:00
ltdrdata
ae641eeb3d
Update web/extensions/core/maskeditor.js
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2023-04-30 05:21:01 +09:00
comfyanonymous
a89cbb6651 Merge branch 'filter-search-by-type' of https://github.com/pythongosssss/ComfyUI 2023-04-29 15:03:08 -04:00
pythongosssss
15a4c0db3b - button hover style
- ensure context menu is always above everything
2023-04-29 17:29:07 +01:00
pythongosssss
ffd0f9f417 Search filter by type 2023-04-29 17:19:14 +01:00
Dr.Lt.Data
b7a1fbcbbe print message if clipspace content cannot editable 2023-04-29 15:02:14 +09:00
Dr.Lt.Data
9d332bec0e crash fix 2023-04-29 14:42:47 +09:00
Dr.Lt.Data
286b731de3 copy/paste bug fixes for batch images
enhance selector preview on clipspace menu
add img_paste_mode option into clipspace menu
2023-04-29 14:39:03 +09:00
ltdrdata
8d454f4785 support batch images on clipspace, maskeditor 2023-04-28 21:47:16 +09:00
ltdrdata
1ce7350304 fix copy (clipspace) action
imgs[0] copy -> whole imgs copy
2023-04-28 20:31:27 +09:00
Lt.Dr.Data
27664b5bd9 robust patch 2023-04-27 15:41:19 +09:00
Lt.Dr.Data
716640b3eb preview fix 2023-04-27 15:33:54 +09:00
Lt.Dr.Data
eb3b6c0581 optimize 2023-04-27 15:29:07 +09:00
Lt.Dr.Data
1f9e88fcd1 Enable brush preview for key and slider events 2023-04-27 14:59:02 +09:00
Lt.Dr.Data
45b049669b Add support for channel-specific image data retrieval in /view API to fix alpha mask loading issue
When loading an image with an alpha mask in JavaScript canvas, there is an issue where the alpha and RGB channels are premultiplied. To avoid reliance on JavaScript canvas, I added support for channel-specific image data retrieval in the "/view" API. This allows us to retrieve data for each channel separately and fix the alpha mask loading issue. The changes have been committed to the repository.
2023-04-27 14:33:02 +09:00
ltdrdata
a13fee6882
Update web/extensions/core/maskeditor.js
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2023-04-27 14:05:36 +09:00
Lt.Dr.Data
d423798cea keyup -> keydown event 2023-04-27 11:54:52 +09:00
Lt.Dr.Data
c66b114879 missionfloyd implementation
* hiding brush preview off the canvas
* change brush size on wheel event
2023-04-27 11:47:44 +09:00
Lt.Dr.Data
d662e9298e refactor: Replace brush preview feature with missionfloyd implementation 2023-04-27 10:25:04 +09:00
Lt.Dr.Data
fc976f48b1 Add cursor functionality to display brush size 2023-04-27 10:15:50 +09:00
ltdrdata
ce55aa784a
Merge branch 'comfyanonymous:master' into feature/maskpainting 2023-04-26 20:37:45 +09:00
ltdrdata
5cc97cf2bf various bug fixes
* paste action
- prevent opening upload popup
- ensure rendering after widget_value update

* view api update
- support annotated_filepath

* maskeditor layout
- prevent covering button by hidden div
2023-04-26 20:36:58 +09:00
Jake D
54251ad85e
Colored MultilineWidget (#524)
* fixes colors and z-index

* light mode fix

* Update widgets.js
2023-04-26 01:22:36 -04:00
ltdrdata
d40e08cb5f
Merge branch 'comfyanonymous:master' into feature/maskpainting 2023-04-26 09:17:42 +09:00
comfyanonymous
ee3a12d283 Update litegraph from upstream. 2023-04-25 19:18:50 -04:00
Lt.Dr.Data
9926897b78 clean code 2023-04-25 18:02:23 +09:00
ltdrdata
7dc1dd6503
Merge branch 'comfyanonymous:master' into feature/maskpainting 2023-04-25 16:21:17 +09:00
Lt.Dr.Data
79a07bb813 clean commit 2023-04-25 12:01:32 +09:00
Lt.Dr.Data
55e46e708e Merge branch 'Main' into feature/maskpainting 2023-04-25 11:52:53 +09:00
comfyanonymous
36acce58e7 Auto increase the size of the image upload widget when there's an image. 2023-04-24 18:13:18 -04:00
Dr.Lt.Data
76db999497 Fix button positioning issue related to window height.
Change brush size from button to slider.
2023-04-24 21:30:06 +09:00
comfyanonymous
ccad603b2e Add a way for nodes to validate their own inputs. 2023-04-23 16:03:26 -04:00
ltdrdata
f7a8218814
Add clipspace feature. (#541)
* Add clipspace feature.
* feat: copy content to clipspace
* feat: paste content from clipspace

Extend validation to allow for validating annotated_path in addition to other parameters.

Add support for annotated_filepath in folder_paths function.

Generalize the '/upload/image' API to allow for uploading images to the 'input', 'temp', or 'output' directories.

* rename contentClipboard -> clipspace

* Do deep copy for imgs on copy to clipspace.

* add original_imgs into clipspace
* Preserve the original image when 'imgs' are modified

* robust patch & refactoring folder_paths about annotated_filepath

* Only show the Paste menu if the ComfyApp.clipspace is not empty

* instant refresh on paste

force triggering 'changed' on paste action

* subfolder fix on paste logic

attach subfolder if subfolder isn't empty

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2023-04-23 15:58:55 -04:00
ltdrdata
ea19315b4d event listener patch
add ], [ key event for brush size
remove listener on close
2023-04-24 00:01:20 +09:00
ltdrdata
cc7ad627a8 Merge branch 'feature/clipspace' into feature/maskpainting 2023-04-23 23:34:39 +09:00
ltdrdata
b2abfa6ad7 subfolder fix on paste logic
attach subfolder if subfolder isn't empty
2023-04-23 23:32:48 +09:00
ltdrdata
a09406bff5 robust patch
again...
2023-04-23 23:05:00 +09:00
ltdrdata
1a9c556890 robust patch
use mouseup event
2023-04-23 22:59:20 +09:00
ltdrdata
b5a7bd2be1 enhance mask painting
smooth drawing
add brush_size +/- button
2023-04-23 22:32:32 +09:00