537 Commits (45e10cac19de5c819674ef3df39bd22fe1397ef9)

Author SHA1 Message Date
Juanjuan 379ff92e9e
fix app.js no graph defined (#3754)
* local test

* fix "graph" not found

* fix

---------

Co-authored-by: Xiujuan Li <xiujuali@amazon.com>
8 months ago
comfyanonymous cb8d0ebccc Don't load the view coordinates when loading a workflow from the history.
I think this makes things slightly less annoying for some users.
9 months ago
luke zhang 34030fed92
improve dom widget performance (#3584) 9 months ago
Regis Gaughan, III f6a203951f
Extend core snapToGrid to LiteGraph Groups. (#3393)
Extends the core Comfy.SnapToGrid behavior for nodes to apply to LiteGraph's LGraphGroup with the same behavior. Also, pulls out redundant rounding code into util function.
9 months ago
DLohn 5b87369474
Load titles from API format JSON (#3563) 9 months ago
comfyanonymous 6507a9c716 Remove the CTRL-Delete keybind.
On some keyboards it's apparently too easy to accidentally do CTRL-Delete
when pressing CTRL-Enter repeatedly.

CTRL-Backspace can still be used to clear the workflow.
9 months ago
comfyanonymous 1c4af5918a Better error message if the webcam node doesn't work. 9 months ago
pythongosssss 91590adf04
Add webcam node (#3497)
* Add webcam node

* unused import
9 months ago
freakabcd cf6e1efb69
Show message on error when loading wf from file (works on drag and drop) (#3466) 10 months ago
comfyanonymous 4f63ee99f1 Add a button to reset the view. 10 months ago
pythongosssss f374ea714d
Setting for saving and restoring canvas position and zoom level (#3437) 10 months ago
Dr.Lt.Data d7fa417bfa
feat: shortcuts for zoom in/out (#3410)
* feat: shortcuts for zoom in/out

* feat: pen support for canvas zoom

ctrl + LMB + vertical drag

* Ctrl+LMB+Drag -> ctrl+Shift+LMB+Drag

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
10 months ago
vilanele 9a70b70de4
add opacity slider in maskeditor (#3404)
Co-authored-by: vilanele <nomail@email.com>
10 months ago
comfyanonymous daa92a8ff4 Fix potential issues with the int rounding fix. 10 months ago
comfyanonymous 89d0e9abeb Fix int widgets rounding. 10 months ago
Torbjörn Lönnemark a88b0ebc2d
Improve node input/widget conversion sub-menus (#3281)
* Make input/widget conversion sub-menus optional

* Improve input/widget conversion sub-menu text

- Fix incorrect text for conversion from widget to input, previously it
  effectively said "convert input to input"
- Use "input" instead of "🔘".  The former is clearer and consistent
  with the rest of the application.
- Use title case (consistent with the rest of the menu entries).
- Strip the trailing periods. There is already a visual indicator for
  sub-menus, and no other sub-menus use trailing periods.
10 months ago
comfyanonymous d64e217427 Fix annoying float issue causing the value to be rounded to above the max. 10 months ago
Dr.Lt.Data 072e3bd2b5
Fixed an issue where the main menu disappears intermittently as the coordinates become negative. (#3269) 10 months ago
comfyanonymous 744ac944db Don't make dynamicPrompts the default on multiline string inputs.
This should be less confusing to those who want to use multiline input
without them.
11 months ago
NyaamZ 2bef134ebf
change Convert.. input (#3246) 11 months ago
comfyanonymous 4bd7d55b90 Add some colors to SamplerCustom links.
If you don't like them I am open to a PR.
11 months ago
Gorka Eguileor de172f8be7
Improve A1111 metadata parsing (#3216)
* A1111 import: Set VAE name

This patch sets the VAE name for the `VAELoader` when present in the png
metadata.

* A1111 import: Skip all hashes

When importing from A1111 the parsing assumes that values of a key will
never contain a ":", which is not correct.

There are 2 cases where we can have ":" in the value:

- Inside a string. E.g.:
  Lora hashes: "xl_more_art-full_v1: fe3b4816be83, add-detail-xl: 9c783c8ce46c"

- When the value is a json dictionary. E.g.:
  Hashes: {"vae": "63aeecb90f", "embed:negativeXL_D": "fff5d51ab6"}

This patch changes how we parse the metadata to take those 2 cases into
account and also skips the following additional keys that are present in
some Forge images:

- Version
- VAE hash
- TI hashes
- Lora hashes
- Hashes

* A1111 import: Parse Hires steps

This patch parses the `Hires steps` parameter that is part of the High
Resolution Upscale configuration when it  is present, and fallbacks to
the one from the `samplerNode` (like the code currently does) if it's
not present.
11 months ago
comfyanonymous a7dd82e668 Fix copy paste issue with litegraph. 11 months ago
shiimizu 5171414143 Support additional PNG info. 1 year ago
chrisgoringe cf4910a3a4
Prevent hideWidget being called twice for same widget
Fix for #2766
1 year ago
Steven Lu 02409c30d9
Safari: Draws certain elements on CPU. In case of search popup, can cause 10 seconds+ main thread lock due to painting. (#2763)
* lets toggle this setting first.

* also makes it easier for debug. I'll be honest this is generally preferred behavior as well for me but I ain't no power user shrug.

* attempting trick to put the work for filter: brightness on GPU as a first attempt before falling back to not using filter for large lists!

* revert litegraph.core.js changes from branch

* oops
1 year ago
comfyanonymous fd73b5ee3a Merge branch 'improved-mobile-support' of https://github.com/pythongosssss/ComfyUI 1 year ago
comfyanonymous 7daad468ec Sync litegraph to repo.
https://github.com/comfyanonymous/litegraph.js/pull/6
1 year ago
pythongosssss d2e7f1b04b Support linking converted inputs from api json 1 year ago
ultimabear 5f3dbede58 Mask editor: semitransparent brush, brush color modes 1 year ago
Chaoses-Ib 951a2064a3 Fix frontend webp prompt handling 1 year ago
comfyanonymous 4c54c2ec0f Merge branch 'increment-wrap' of https://github.com/pksebben/ComfyUI 1 year ago
pksebben 53a22e1ab9 add increment-wrap as option to ValueControlWidget when isCombo, which loops back to 0 when at end of list 1 year ago
Lt.Dr.Data 6ab4205422 feat: better pen support for mask editor
- alt-drag: erase
- shift-drag(up/down): zoom in/out
1 year ago
comfyanonymous 6565c9ad4d Litegraph node search improvements.
See: https://github.com/comfyanonymous/litegraph.js/pull/5
1 year ago
comfyanonymous eeca72488b Merge branch 'group-manage-fixes' of https://github.com/pythongosssss/ComfyUI 1 year ago
pythongosssss af6165ab69 Fix scrolling with lots of nodes 1 year ago
pythongosssss 29558fb3ac Fix crash when no widgets on customized group node 1 year ago
Meowu 364ef19354
fix: inpaint on mask editor bottom area 1 year ago
pythongosssss ed2fa105ae Make auto saved workflow stored per tab 1 year ago
comfyanonymous b9911dcb2f Sync litegraph with repo.
https://github.com/comfyanonymous/litegraph.js/pull/4
1 year ago
pythongosssss 3762e676a9
Support refresh on group node combos (#2625)
* Support refresh on group node combos

* fix check
1 year ago
pythongosssss 8a92ac2120 Ability to hide menu
Responsive setting screen
Touch events for zooming/context menu
1 year ago
Kristjan Pärt 45bf88d8ef
Fix queue on change to respect auto queue checkbox (#2608)
* Fix render on change not respecting auto queue checkbox

Fix issue where autoQueueEnabled checkbox is ignored for changes if autoQueueMode is left on `change`

* Make check more specific
1 year ago
pythongosssss ee2c5fa72d
Fix renaming upload widget (#2554)
* Fix renaming upload widget

* Allow custom name
1 year ago
comfyanonymous 818d0c01b2 Merge branch 'fix-logging-setting' of https://github.com/pythongosssss/ComfyUI 1 year ago
pythongosssss 93bbe3f4c0
Auto queue on change (#2542)
* Add toggle to enable auto queue when graph is changed

* type fix

* better

* better alignment

* Change undoredo to not ignore inputs when autoqueue in change mode
1 year ago
pythongosssss 23687da9a9 Fix logging not checking onChange 1 year ago
pythongosssss 270daa02a8
Adds copy image option if browser feature available (#2544)
* Adds copy image option if browser feature available

* refactor
1 year ago
comfyanonymous 432ba1c179 Merge branch 'control_before_generate' of https://github.com/pythongosssss/ComfyUI 1 year ago