562 Commits

Author SHA1 Message Date
pythongosssss
35ff8d4877 Merge remote-tracking branch 'origin/master' into newmenu 2024-05-04 13:31:58 +01:00
comfyanonymous
daa92a8ff4 Fix potential issues with the int rounding fix. 2024-05-03 05:49:21 -04:00
comfyanonymous
89d0e9abeb Fix int widgets rounding. 2024-05-02 03:34:19 -04:00
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.
2024-04-18 16:41:23 -04:00
comfyanonymous
d64e217427 Fix annoying float issue causing the value to be rounded to above the max. 2024-04-17 17:34:02 -04:00
Dr.Lt.Data
072e3bd2b5
Fixed an issue where the main menu disappears intermittently as the coordinates become negative. (#3269) 2024-04-17 16:36:49 -04:00
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.
2024-04-13 16:18:00 -04:00
NyaamZ
2bef134ebf
change Convert.. input (#3246) 2024-04-12 17:02:17 -04:00
comfyanonymous
4bd7d55b90 Add some colors to SamplerCustom links.
If you don't like them I am open to a PR.
2024-04-11 22:43:05 -04:00
pythongosssss
8a8f4a59e0 Merge remote-tracking branch 'origin/master' into newmenu 2024-04-07 15:41:54 +01:00
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.
2024-04-06 12:10:17 -04:00
comfyanonymous
a7dd82e668 Fix copy paste issue with litegraph. 2024-04-05 14:59:05 -04:00
pythongosssss
45f59d28c1 Fix menu disappearing on chrome 2024-04-03 21:10:16 +01:00
pythongosssss
0406679f18 Toggle body display on setting change 2024-03-23 21:20:46 +00:00
pythongosssss
ea611cf8c9 Dont reorder open workflows
Allow elements around canvas
2024-03-23 21:13:19 +00:00
pythongosssss
c3c76dffe8 dialog fix 2024-03-21 21:25:51 +00:00
pythongosssss
8ebe857105 remove debugging code 2024-03-21 21:05:42 +00:00
pythongosssss
f23d37a2d3 show hover items on smaller screen (mobile) 2024-03-21 20:29:34 +00:00
pythongosssss
69d5f97488 Fix colors on all themes 2024-03-21 18:08:46 +00:00
pythongosssss
a0d505a34a Fix test, revert accidental changes to groupNode 2024-03-21 17:50:14 +00:00
pythongosssss
9be066014e Fix export name 2024-03-20 19:28:43 +00:00
pythongosssss
ef430e58ae remove glow 2024-03-20 19:24:54 +00:00
pythongosssss
ba00f00760 hide element until it is drawn 2024-03-20 19:24:43 +00:00
pythongosssss
160d93b9f6 resize on setting change 2024-03-20 19:24:27 +00:00
pythongosssss
c41efe65e1 use filename as workflow name 2024-03-20 19:14:27 +00:00
pythongosssss
0052c6663c fix top offset 2024-03-20 19:14:15 +00:00
pythongosssss
ad355c601d fix zindex on hover 2024-03-20 19:14:07 +00:00
pythongosssss
2ec11cb3b0 prevent renaming unsaved 2024-03-20 19:13:43 +00:00
pythongosssss
b9030c7281 Add filtering tree 2024-03-14 22:38:35 +00:00
pythongosssss
35d3ecbdff various fixes
add close unsaved warning
2024-03-12 21:41:14 +00:00
pythongosssss
37def7e40b Support dynamic size breakpoints based on content 2024-03-10 13:52:13 +00:00
pythongosssss
71725566ac Support multiple image loaders 2024-03-10 11:30:20 +00:00
pythongosssss
cef8c13703 added send to workflow
various fixes
2024-03-09 15:20:42 +00:00
pythongosssss
bb5605d43a progress on progress 2024-03-07 21:37:59 +00:00
pythongosssss
a3fe94513f wip 2024-03-06 21:12:47 +00:00
pythongosssss
5a5634bd8e refactor, better workflow instance management 2024-03-05 21:43:09 +00:00
pythongosssss
60ad4f9abc temp 2024-03-03 17:16:35 +00:00
pythongosssss
19c3eb8f57 fix session storage
implement renaming
2024-02-27 20:24:40 +00:00
pythongosssss
114369c853 Merge remote-tracking branch 'origin/master' into newmenu 2024-02-24 13:31:59 +00:00
pythongosssss
e3e1b47aa6 Support inserting workflows
Move buttosn to top of lists
2024-02-22 20:38:59 +00:00
pythongosssss
ec3822b1f7 workflow saving/loading 2024-02-21 20:42:24 +00:00
shiimizu
5171414143 Support additional PNG info. 2024-02-18 17:57:53 -08:00
pythongosssss
b823baf2be wip 2024-02-18 17:18:40 +00:00
pythongosssss
d293e5d067 wip 2024-02-18 12:17:56 +00:00
pythongosssss
895141e1ae wip 2024-02-18 11:41:20 +00:00
pythongosssss
7f4276dd2c Merge remote-tracking branch 'origin/master' into newmenu 2024-02-17 13:44:15 +00:00
pythongosssss
2783099013 wip 2024-02-17 13:43:53 +00:00
chrisgoringe
cf4910a3a4
Prevent hideWidget being called twice for same widget
Fix for #2766
2024-02-12 08:59:25 +11:00
pythongosssss
ee05e6a3a8 wip 2024-02-11 21:14:17 +00:00
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
2024-02-12 03:44:53 +09:00