Commit Graph

155 Commits

Author SHA1 Message Date
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
space-nuko
acb3a4a1f4 Untabify 2023-06-01 17:18:51 -05:00
space-nuko
6d86865d7b Reassign IDs of cloned subgraphs 2023-06-01 17:00:07 -05:00
tamat
8ae1e5568d Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2023-04-11 08:58:01 +02:00
tamat
42cbc5838c just changing modes 2023-04-11 08:57:53 +02:00
lathan britz
a026a1ec8d miggins vrs inX 2023-04-10 14:18:37 -04:00
atlamede
b0302a253c missing var 2023-04-06 22:08:55 +02:00
Tim Gates
4177923d1d docs: Fix a few typos
There are small typos in:
- editor/js/defaults.js
- editor/js/defaults_mobile.js
- src/litegraph.js
- src/nodes/geometry.js
- src/nodes/gltextures.js

Fixes:
- Should read `sequentially` rather than `sequentually`.
- Should read `default` rather than `deafult`.
- Should read `visually` rather than `visualy`.
- Should read `offscreen` rather than `offscren`.
- Should read `dichotomic` rather than `dichotimic`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
2023-03-05 11:51:27 +11:00
Javi Agenjo
cfc5d4eb2a Merge pull request #337 from astrot1988/fix_subgraph
fix: subgraph remove output
2023-03-02 11:47:21 +01:00
astrot1988
acf058a730 fix: subgraph remove output 2023-03-02 13:09:46 +03:00
tamat
4252b513de Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2023-02-28 13:29:00 +01:00
tamat
54c2c1c5f7 fixes 2023-02-28 13:28:57 +01:00
ClaasJG
b1cc66aa3e Fix NodeScript description
Change the description of NodeScript nodes to contain the correct number of allowed characters.
2022-11-17 09:45:33 +01:00
tamat
b6fb7de636 fix in grapg\/output 2021-12-07 10:50:28 +01:00
tamat
af19af2c51 fixes in mouse events 2021-11-18 19:29:10 +01:00
tamat
9d6fd61032 fix sequencer 2021-11-03 10:10:12 +01:00
tamat
d33c600347 events sequencer renamed as sequence 2021-11-03 10:06:01 +01:00
Javi Agenjo
702d8dd373 Merge pull request #264 from atlasan/pulls
Pack
2021-11-03 10:03:54 +01:00
Tim Gates
0cfa580dfd docs: Fix a few typos
There are small typos in:
- CONTRIBUTING.md
- guides/README.md
- src/nodes/midi.js

Fixes:
- Should read `syntax` rather than `sintax`.
- Should read `outputs` rather than `otputs`.
- Should read `dragging` rather than `draging`.
- Should read `build` rather than `bulid`.
- Should read `assume` rather than `asume`.
2021-10-31 23:55:29 +11:00
atlasan
d842c98e21 Fix and refactor 2021-10-15 02:27:46 +02:00
atlasan
84ff381c46 Small fix and new features
- nodes_executing, nodes_actioning initial set
- slot_types_default (in and out) helps in having defaults nodes for
specific slot_types
- slot_types_default are filled as an example in src/nodes/others.js
- middle_click_slot_add_default_node allows auto-placing defaults nodes
next to a slot
- release_link_on_empty_shows_menu conditions having
realease-in-empty-space functionality
- keypress for slot name
- do include new js/defaults.js in editor and leave the Lib with new
functionalities off by default

- new html with mobile editor (working on)
	- separate defaults
	- optional thirdy-party html console
2021-10-14 18:42:57 +02:00
atlasan
719a74a0d8 Integration and Fixes
- few new nodes
- onAction, onExecute, onTrigger has the third parameters for additional
options
- onAction has to refresh the getInputData values for future behaviours
- prefer 0 or "*" for slot type instead of empty string ""
2021-10-09 11:51:07 +02:00
tamat
9ad6301101 make removable slots only the ones created from editor 2021-09-16 11:25:32 +02:00
tamat
fcf37260ad added semaphore node 2021-08-25 12:59:54 +02:00
tamat
9cab33f33c Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2021-08-17 10:29:21 +02:00
tamat
136c627c3c fixes with roundrect 2021-08-17 10:00:09 +02:00
Javi Agenjo
91c9ffbca3 Merge pull request #248 from kiddoinpyjamas/warning_even_with_debug_disabled
Fix to only show console warn if debug is enabled
2021-08-16 17:08:51 +02:00
Lucas do Nascimento
4942990424 Fix to only show console warn if debug is enabled 2021-08-06 22:30:10 -03:00
周存根
3f4666b4e6 fixed subgraph 2021-07-29 11:39:30 +08:00
Javi Agenjo
b54c8ae7bd Merge pull request #187 from atlasan/pulls
WebCamNodeFix
2021-06-14 12:26:37 +02:00
PM
cb543cceb3 updated converter input 2021-04-06 18:30:25 +02:00
PM
980baed1eb back to basic 2021-04-06 15:56:06 +02:00
PM
039ad19372 Added an output to Converter
I hope I didn't misunderstood the converter node, it needs an output right?
2021-04-06 15:52:38 +02:00
PM
292013b6cf data_store to events menu
I guess events.js manages events menu and not basic one :)
If I'm wrong, please let me know with a quick explanation and drop it.
2021-04-06 15:20:43 +02:00
atlasan
6b2eaa1054 webcamnode 2021-01-05 21:43:45 +01:00
atlasan
ef67b4cf9c Merging with (the)Master and nodeWebcam_Fix 2021-01-05 21:39:08 +01:00
tamat
f682b3e42a added set array and set object nodes 2020-12-28 10:35:10 +01:00
atlasan
b91263cf72 Webcam node fix 2020-12-16 13:07:18 +01:00
tamat
b195108e15 fix on Trigger 2020-09-09 10:11:47 +02:00
tamat
a6105af416 fixes in gltextures 2020-08-12 12:19:33 +02:00
tamat
d46bc11816 merge and build? 2020-07-25 22:08:57 +02:00
tamat
0b5b1adb16 lil fixes 2020-07-25 22:08:16 +02:00
Phil Mercurio
c3aa3b3dd1 Merge remote-tracking branch 'upstream/master'
Catching up to external updates and checking in
array fix (this time without build artifacts).
2020-07-25 12:04:21 -07:00
tamat
baed06fa37 minor fixes 2020-07-25 01:09:14 +02:00
tamat
f9d006c0df fixes in subgraph 2020-07-20 15:32:39 +02:00
tamat
c74d8760b1 variable class works better\nFixes in panels\nBetter shader generation. 2020-07-17 19:21:07 +02:00
tamat
b6c28399f8 shader nodes 2020-07-15 21:22:32 +02:00
tamat
2f9c67295f shader graph support 2020-07-02 00:00:53 +02:00
tamat
ab7bc960a0 math node supports array and objects as A 2020-06-11 17:07:47 +02:00
tamat
e6c5474155 better disabled display 2020-05-24 00:01:42 +02:00