Commit Graph

514 Commits

Author SHA1 Message Date
bymyself
299b9fbe95 Add ARIA attributes to contextmenu (#30) 2024-07-28 13:51:05 -04:00
bymyself
7504f3e017 Make node pin option text reactive (#29) 2024-07-28 13:50:27 -04:00
Chenlei Hu
ea8a9effe5 Fix undefined var 'cloned' (#33) 2024-07-28 13:19:03 -04:00
Chenlei Hu
d746f04431 Fix var declaration (#26) 2024-07-23 11:06:36 -04:00
filtered
ee0b8a07b6 Fix empty input not used when connecting links (#24)
When dragging a link onto a node, it will always replace the first matching input type, unless you drop in the (respectively tiny) input hit box.

This commit fixes that, honouring the intended behaviour (preferFreeSlot is true in internal calls).
2024-07-21 11:09:17 -04:00
Chenlei Hu
12fe34cf10 Sort node on serialization (#21) 2024-07-18 15:46:54 -04:00
bymyself
1fdf49fe85 Truncate overflowing combo widget text (#17)
* Truncate overflowing combo widget text

* Avoid uneccessary calls to

* Use unicode ellipsis

* Only measure first 3 chars
2024-07-18 15:46:01 -04:00
Chenlei Hu
1592ea97b4 Update types (#14) 2024-07-07 23:20:52 -04:00
Chenlei Hu
6231ff5dcd Fix event content (#12) 2024-07-07 18:35:03 -04:00
Chenlei Hu
8e9a0898e5 Revert ESM change (#11) 2024-07-06 18:39:59 -04:00
Chenlei Hu
e361b39f36 Emit searchbox triggering canvas events (#10)
* Emit canvas event

* Update version
2024-07-06 18:13:26 -04:00
Chenlei Hu
2a935df408 Use ESM style export (#9)
* ESM style export

* Update version
2024-07-06 17:49:57 -04:00
Chenlei Hu
ce7d0a67cd Fix zoom (#7) 2024-07-05 19:49:41 -04:00
Chenlei Hu
8f1d91f952 Make necessary type def changes for TS repo (#3)
* Make necessary type def changes for TS repo

* Revert unwanted changes

* Revert more accidental changes

* Update version
2024-07-05 15:48:20 -04:00
comfyanonymous
c608227c3c Fix links sometimes not being correct when copy pasting nodes. 2024-04-05 15:25:59 -04:00
pythongosssss
49a3e31402 Fix using enter to select item (#6) 2024-02-06 12:27:29 -05:00
pythongosssss
5925961fa1 Show node title in search and also search title (#5)
Fix long types overflowing dialog
2024-01-30 22:24:37 -05:00
pythongosssss
208eb2d006 Support custom hide timeout on node search dialog (#4) 2024-01-23 19:48:42 -05:00
comfyanonymous
eec3575df5 Auto select value in prompt. 2023-12-21 13:18:52 -05:00
comfyanonymous
6a0e012475 Increase maximum number of nodes to 10k. 2023-12-21 13:18:23 -05:00
comfyanonymous
a9d6ff977f Fix group loading. 2023-12-21 13:08:53 -05:00
pythongosssss
f71e6f3106 allow nodes to be specified when copying (#3) 2023-12-21 13:08:53 -05:00
comfyanonymous
3a3a51cfcd Lower search timeout. 2023-12-21 13:05:43 -05:00
comfyanonymous
fb126fff4f Fix middle mouse drag. 2023-12-21 13:05:43 -05:00
comfyanonymous
a525552030 Fix litegraph button being black on light theme. 2023-12-21 13:05:43 -05:00
comfyanonymous
864d0f1270 Add back roundRect so firefox ESR can work again. 2023-12-21 13:05:43 -05:00
comfyanonymous
41050752dd Fix for high DPI. 2023-12-21 13:05:43 -05:00
comfyanonymous
8e6be3c8de Put PR #386 in right file. 2023-12-21 13:05:43 -05:00
comfyanonymous
adbbc53fa4 Move properties panel from double click to menu option. 2023-12-21 13:05:43 -05:00
comfyanonymous
8cc3cd39d9 Make nodes easier to resize. 2023-12-21 13:05:43 -05:00
comfyanonymous
59192b8a58 enable new CTRL-SHIFT-V 2023-12-21 13:05:43 -05:00
comfyanonymous
4e0670ffb1 litegraph dev forgot to remove the title height from the collision if it's hidden 2023-12-21 13:05:43 -05:00
comfyanonymous
db34e87d6c Allow dragging again. 2023-12-21 13:05:43 -05:00
comfyanonymous
6c746ab5fc ComfyUI fixes for mobile stuff. 2023-12-21 13:05:43 -05:00
Javi Agenjo
2a1b25f850 Merge pull request #405 from M1kep/fix/group-drag
fix: Correct bounding box calculation
2023-11-28 08:19:08 +01:00
Javi Agenjo
015547db2e Update base.js 2023-10-27 10:28:34 +02:00
Javi Agenjo
3acdcee1fd Update network.js 2023-10-26 20:36:33 +02:00
Javi Agenjo
2bc9fd9e41 Update network.js 2023-10-26 20:31:10 +02:00
Javi Agenjo
fbdd6aeab3 Merge pull request #421 from OptrixAU/master
Fixes issue with restoring serialised graphs with widgets set to 0.
2023-10-05 11:08:44 +02:00
tamat
2d83d6e62c fixed bug in operator 2023-10-05 10:54:37 +02:00
Steven Harding
e3cde7f66e Fixes issue with restoring serialised graphs with widgets set to 0. 2023-10-05 09:03:07 +11:00
Kristjan Pärt
8e08c77c42 fix typeof implementations not actually checking for typeof undefined 2023-09-25 11:10:55 +03:00
bcq
bc0254f77f Fix LGraphGroup node serialize error 2023-09-09 20:15:32 +08:00
Neil Graham
9b24af3b65 Middle mouse drag (even when over nodes) when middle_click_slot_add_default_node is false 2023-08-17 17:42:39 +12:00
Michael Poutre
a60e26c7b7 refactor: Optimize getBounding 2023-07-31 19:42:48 -07:00
Guillaume Faguet
8785006770 typo 2023-07-31 11:08:09 +02:00
Guillaume Faguet
6687056387 changed precision check from undefined to null 2023-07-31 10:18:53 +02:00
Guillaume Faguet
994114160b replacing slider precision harcoded value 2023-07-31 09:43:58 +02:00
Michael Poutre
beee147000 fix: Update node.getBounding box to support collapsed nodes and shadows 2023-07-28 20:22:12 -07:00
jnyfil
cf3d2d1f71 Fix auto-open bug in context menu 2023-07-11 19:56:28 +09:00