Commit Graph

762 Commits

Author SHA1 Message Date
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
tamat
a729b07744 fixed 2023-10-05 10:52:49 +02:00
Steven Harding
e3cde7f66e Fixes issue with restoring serialised graphs with widgets set to 0. 2023-10-05 09:03:07 +11:00
Javi Agenjo
44e49acaaa Merge pull request #418 from dotJack/master
Fix typeof compared to undefined and not "undefined"
2023-09-25 12:07:39 +02:00
Kristjan Pärt
8e08c77c42 fix typeof implementations not actually checking for typeof undefined 2023-09-25 11:10:55 +03:00
Javi Agenjo
2693f187b4 Merge pull request #414 from bcq028/master
Fix LGraphGroup node serialize error
2023-09-18 10:25:54 +02:00
Javi Agenjo
8c4a1debe3 Merge pull request #415 from 0xlws/0xlws-patch-1
refactor: remove '!' from server url
2023-09-18 10:25:19 +02:00
0xlws
4dca96c9d7 refactor: remove '!' from server url 2023-09-15 09:30:54 +02:00
bcq
bc0254f77f Fix LGraphGroup node serialize error 2023-09-09 20:15:32 +08:00
Javi Agenjo
21bdba60a4 Merge pull request #413 from Lerc/master
Middle mouse drag (even when over nodes)
2023-08-17 12:01:43 +02: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
Javi Agenjo
7e9518fd7e Merge pull request #410 from Guillaume-Fgt/slider_precision
replacing slider precision harcoded value
2023-07-31 12:01:10 +02: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
tamat
551643839a build 2023-07-17 11:21:38 +02:00
Javi Agenjo
31d7f900dd Merge pull request #403 from jnyfil/master
Fix auto-open bug in context menu
2023-07-17 11:18:22 +02:00
jnyfil
cf3d2d1f71 Fix auto-open bug in context menu 2023-07-11 19:56:28 +09:00
Javi Agenjo
23c300b7ac Merge pull request #401 from moritz89/master
Remove extending the Javascript builtin objects
2023-06-30 13:47:11 +02: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
Javi Agenjo
0a4bd193a3 Merge pull request #389 from ltdrdata/Main
block node dragging if node is 'pinned'
2023-06-30 09:31:59 +02:00
Javi Agenjo
2970a8263e Merge pull request #400 from KaruroChori/master
Fixed exports for rollup bundler
2023-06-26 08:32:13 +02:00
karurochari
55f39024e9 Fixed exports for rollup bundler 2023-06-23 14:07:50 +00:00
Dr.Lt.Data
51df6ed35f Merge branch 'comfyanonymous:master' into Main 2023-06-12 10:41:50 +09:00
Javi Agenjo
2e95dd1e6c Merge pull request #396 from space-nuko/use-uuids
Option to use UUIDs instead of integers for node IDs
2023-06-04 19:23:30 +02: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
6d86865d7b Reassign IDs of cloned subgraphs 2023-06-01 17:00:07 -05:00
space-nuko
77360a6e71 Option to use UUIDs instead of integers for node IDs 2023-06-01 14:23:51 -05:00
Javi Agenjo
0f2a905a07 Merge pull request #393 from lucklyisgood/master
Fix issue with subgraph inputs and outputs not being clickable in custom canvas size
2023-05-19 16:29:46 +02: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
Dr.Lt.Data
312de8567b Merge branch 'comfyanonymous:master' into Main 2023-05-17 11:39:40 +09:00
Javi Agenjo
888173a02e Merge pull request #390 from pythongosssss/widget-label
Render widget label in preference to name
2023-05-16 11:48:51 +02:00
pythongosssss
863c373d3b Render widget label in preference to name 2023-05-15 18:30:32 +01:00
Dr.Lt.Data
0dcfdc6a50 Merge branch 'comfyanonymous:master' into Main 2023-05-15 11:28:27 +09:00
Dr.Lt.Data
b5a4ce8f4f allow other actions.
Just block dragging node.
2023-05-12 17:00:41 +09:00
Dr.Lt.Data
fd104e91d5 don't screw up group because pinned feature 2023-05-12 16:46:14 +09:00
Dr.Lt.Data
67fc5d79c5 bugfix: pinned working 2023-05-12 16:40:25 +09: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
Javi Agenjo
802dfaa93c Merge pull request #386 from MarcMeszaros/simplified-allow-interaction-override
Simplify the allow_interaction override to only use node flags
2023-05-01 21:17:21 +02:00
Michael Poutre
e466b5edc8 refactor: Update startup message for example app to include URL
Allows clicking the URL to launch example app, this also allows some IDEs such as WebStorm to launch integrated debugger far more easily
2023-04-30 23:26:31 -07: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