Commit Graph

3858 Commits

Author SHA1 Message Date
atlasan
a66d822e2a PointerEvents: from mouse events to pointer events v1
added LiteGraph.pointerevents_method with default "pointer"
replaced EventListeners with pointerevents_method+"down", "up", etc..
replaced e.localX (and Y) for e.clientX (Y)
fixed e.clientX is not writable

TODO: finish checks and clean
version with console.log("pointerevents..) enabled
alpha working for mobile, touch enabled
2021-10-02 14:26:15 +02:00
atlasan
d3d2586039 First easy fix to touch integration: 2021-10-01 17:02:11 +02:00
tamat
9ad6301101 make removable slots only the ones created from editor 2021-09-16 11:25:32 +02:00
Eike Michel Wobken
3c9ea1cc0a make y pos of widgets customizable 2021-09-15 13:48:57 +02:00
tamat
c2f7e389b9 little fix 2021-08-25 13:46:36 +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
d0e8e41390 Merge pull request #242 from turkron/master
changed the auto sort function to make the function es5 compliant as …
2021-08-16 17:12:08 +02:00
Javi Agenjo
334868c84d Merge pull request #247 from Eikeike/RenderTitleFix
Add functionality for title mode NO_TITLE
2021-08-16 17:11:02 +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
tamat
f71aad4450 fixes' 2021-08-16 17:00:48 +02:00
tamat
667b04f62a replaced old roundRect function 2021-08-16 16:45:36 +02:00
Lucas do Nascimento
4942990424 Fix to only show console warn if debug is enabled 2021-08-06 22:30:10 -03:00
Eike Michel Wobken
1a10cce69d Add functionality for title mode NO_TITLE 2021-07-30 18:49:04 +02:00
Eike Michel Wobken
0f55726252 Separator only drawn when title is drawn 2021-07-30 13:02:44 +02:00
周存根
94ee0d57d0 Merge branch 'master' of github.com:gausszhou/litegraph.js into master 2021-07-29 11:41:24 +08:00
周存根
3f4666b4e6 fixed subgraph 2021-07-29 11:39:30 +08:00
Nathan Kendall
7ccd907f71 changed the auto sort function to make the function es5 compliant as the rest of the project is already 2021-07-26 10:23:09 +01:00
tamat
998de17038 Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2021-07-12 17:02:29 +02:00
tamat
18e53d8788 minor fix 2021-07-12 17:02:22 +02:00
Eike Michel Wobken
3eb9533ad2 Highlight arrow shape when connecting slots with arrow shape 2021-07-08 17:05:37 +02:00
tamat
bdad111eb0 Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2021-07-02 17:11:08 +02:00
tamat
63d1506efa fixed touch 2021-07-02 17:10:49 +02:00
RobTheFiveNine
d0eedf7232 Fix widget buttons registering clicks twice 2021-06-15 14:37:17 +01:00
Javi Agenjo
40907189f3 Merge pull request #229 from RobTheFiveNine/bugfix/incorrect-property-editor-labels
Fix incorrect property editor labels + build improvements
2021-06-14 16:42:41 +02:00
RobTheFiveNine
7017bd31ed Fix bug causing property labels not to be used when creating widgets 2021-06-14 14:42:58 +01:00
Javi Agenjo
781f9ae049 Merge pull request #200 from ralphwetzel/master
Fix type definitions
2021-06-14 12:26:55 +02:00
Javi Agenjo
b54c8ae7bd Merge pull request #187 from atlasan/pulls
WebCamNodeFix
2021-06-14 12:26:37 +02:00
Javi Agenjo
4b9fad23ee Merge pull request #223 from j2l/master
updated converter input
2021-06-14 12:26:23 +02:00
RobTheFiveNine
bc4ac4724f Add missing brackets that cause context menu bug 2021-06-11 20:12:51 +01:00
RobTheFiveNine
e6af69c887 Merge remote-tracking branch 'upstream/master' into fix/auto_sort_value 2021-06-11 19:59:04 +01:00
tamat
143bd0789a Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2021-06-11 13:39:49 +02:00
tamat
e4e48ff583 mini version 2021-06-11 13:39:43 +02:00
kdb621
75bf136797 Fix Boundary and collapsed issue
* If you collapse a node with a widget after loading the graph, it cannot be expanded.
* Compute Collapsed Nodes boundary is incorrect
2021-05-20 13:26:58 +09: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
tamat
4b47ed9056 added viewport rendering 2021-03-19 20:56:14 +01:00
tamat
0eae390b43 Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2021-03-12 16:28:10 +01:00
tamat
41f779c3f8 align to grid in canvas 2021-03-12 16:27:55 +01:00
RobTheFiveNine
875726d396 Fix node types incorrectly sorted in minified code 2021-02-13 15:45:01 +00:00
ralphwetzel
6198a41972 Update litegraph.d.ts
Fix type definitions:
- LGraph.beforeChange
- LGraph.afterChange
2021-02-13 14:54:36 +01:00
ralphwetzel
3cb6e4586d Update litegraph.d.ts
Fix type definitions:
- LGraph.beforeChange
- LGraph.afterChange
2021-02-13 14:53:06 +01:00
ralphwetzel
5a680b9ac9 Update litegraph.d.ts
Fix type definitions:
- ContextMenu.constructor
2021-02-13 12:55:37 +01:00
ralphwetzel
0ad6104661 Update litegraph.d.ts
Fix type definition:

- LGraph.filter
2021-02-13 12:36:16 +01:00
ralphwetzel
139f9f8b8a Update litegraph.d.ts
Fix type definitions:
- LiteGraph.active_graph
- LGraphCanvas.getNodeTypesInCategory
- LGraphCanvas.getNodeTypesCategories
2021-02-13 12:27:23 +01:00
Javi Agenjo
00c4d8d908 Merge pull request #194 from xuekai-china/master
Pref: ts support about LGraphNode.mouseOver.
2021-01-29 10:51:03 +01:00
Javi Agenjo
a4c6ccd74f Merge pull request #198 from Kidoncio/ts_disconnect_output
TS support about LGraphNode.disconnectOutput
2021-01-29 10:50:38 +01:00