Commit Graph

405 Commits

Author SHA1 Message Date
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
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
Moritz Ulmer
aec5d622a9 Remove extending the Javascript builtin objects
- Remove extending the Math & CanvasRenderingContext2D classes.
  - It was messing up the typescript 4.9+
  - Using the built-in roundRect function
  - Adding global clamp function
- Add some type corrections in litegraph.d.ts
- Fix a couple of build issues

Co-authored-by: Ranuka Perera <premium@sawrc.com>
Co-authored-by: Moritz Ulmer <moritz.ulmer@posteo.de>
2023-06-30 13:45:43 +02:00
karurochari
55f39024e9 Fixed exports for rollup bundler 2023-06-23 14:07:50 +00:00
space-nuko
acb3a4a1f4 Untabify 2023-06-01 17:18:51 -05:00
space-nuko
51b2bd612c Don't copy non-clonable nodes 2023-06-01 17:07:05 -05:00
space-nuko
43aa627d34 Fix clonable test 2023-06-01 17:04:04 -05:00
space-nuko
77360a6e71 Option to use UUIDs instead of integers for node IDs 2023-06-01 14:23:51 -05:00
lucklyisgood
9936e3de5d Refactor LGraphCanvas drawButton click logic(2) 2023-05-19 13:04:37 +00:00
lucklyisgood
676bb3617a Refactor LGraphCanvas drawButton click logic 2023-05-19 12:33:51 +00:00
lucklyisgood
bdde19b014 fix mouse pos detection in LGraphCanvas.drawButton 2023-05-19 09:45:57 +00:00
lucklyisgood
16c294e062 Fix issue with subgraph inputs and outputs not being clickable in custom canvas size 2023-05-19 14:07:17 +08:00
pythongosssss
863c373d3b Render widget label in preference to name 2023-05-15 18:30:32 +01:00
Javi Agenjo
42fc7cd52e Merge pull request #388 from M1kep/alignment-no-whitespace-changes
Add ability to align selected nodes
2023-05-01 21:19:39 +02:00
Michael Poutre
cfc64dfe52 feat: Target alignment when right clicking a specific node 2023-04-30 23:26:27 -07:00
Michael Poutre
9f3245d9f0 refactor: Only show Align options if more than one node is selected 2023-04-30 23:26:19 -07:00
Michael Poutre
badf134f12 feat: Add alignment for selected node 2023-04-30 23:26:12 -07:00
Marc Meszaros
044b29c614 Simplify the allow_interaction override to use node flags
Remove the need to use 'drag_mode' on the graph cavas and instead use a
similarly name flag on the node 'allow_interaction' to allow per node
interaction when the global 'allow_interaction' flag is set to false.
2023-04-30 10:38:14 -07:00
Javi Agenjo
976ba6f4f4 Merge pull request #385 from MarcMeszaros/moveable-interaction-off
Allow interactions per node override
2023-04-28 11:16:08 +02:00
Marc Meszaros
1dc167044e Allow dragging and interacting with nodes with graph being read-only 2023-04-26 10:55:39 -07:00
Javi Agenjo
7ab10b5c10 Merge pull request #297 from mcejp/patch-slider-property
Fix: inner_value_change not called on slider interaction
2023-04-23 20:39:05 +02:00
Javi Agenjo
2047cfa772 Merge pull request #381 from pythongosssss/evaluate-decimals
Add support for decimal evaluation
2023-04-23 20:38:38 +02:00