atlasan
ad9611ce4f
Helper pointerListener(Add/Remove)
...
- moved from LGCanvas to LiteGraph to allow contextmenu and others to
access it easily
2021-10-03 20:29:09 +02:00
atlasan
8d302bd4f9
Simulate right click by multiple fingers
2021-10-02 16:33:50 +02:00
atlasan
b793e5c1d5
remove console.log for pointerevents
2021-10-02 14:29:38 +02:00
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
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
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
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
RobTheFiveNine
7017bd31ed
Fix bug causing property labels not to be used when creating widgets
2021-06-14 14:42:58 +01: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
tamat
4b47ed9056
added viewport rendering
2021-03-19 20:56:14 +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
Ben
b3502d385c
working multi-level context menus
...
working multi-level context menu
2021-01-12 10:14:49 +11:00
tamat
82485c92f4
added beforeChange and afterChange to graph.remove( node )
2021-01-05 18:08:44 +01:00
tamat
3c66255cfd
Merge branch 'master' of https://github.com/jagenjo/litegraph.js
2021-01-05 17:33:46 +01:00
tamat
a1a51ef056
added multiline support for widgets
2021-01-05 17:33:26 +01:00
Javi Agenjo
1020176bc2
Merge pull request #165 from ilyabesk/node_connect_hooks
...
Remade lost changes from pull request #154
2021-01-04 13:20:30 +01:00
RobTheFiveNine
88994e1843
Change terminology for property descriptors to 'labels'
2020-10-05 18:08:02 +01:00
RobTheFiveNine
66a7a5cf78
Fix serialisation bug when editing string properties
2020-10-05 18:02:31 +01:00
RobTheFiveNine
99b7e93f2d
Add ability to control property display name via the 'descriptor' of the property info
2020-10-05 17:45:06 +01:00
RobTheFiveNine
3d7bea5c51
Add ability to automatically sort node types / categories in the context menu
2020-10-01 18:00:58 +01:00
mateuswetah
b9bb66e3e9
Fixes new constants value for hex color string.
2020-09-25 00:34:03 -03:00
mateuswetah
04cc7bac7b
Adds NODE_SELECTED_TITLE_COLOR and NODE_SELECTED_TITLE_COLOR for better theme customization.
2020-09-25 00:29:36 -03:00
tamat
49d34fd5b3
added support to load from file
2020-09-09 17:53:41 +02:00
tamat
8a4af6821c
Merge branch 'master' of https://github.com/jagenjo/litegraph.js
2020-09-09 10:12:02 +02:00
tamat
b195108e15
fix on Trigger
2020-09-09 10:11:47 +02:00
ilya
4cff2863b4
Remade lost changes
2020-08-13 01:18:50 +03:00
Javi Agenjo
14cbb3f9b6
Merge pull request #160 from SarahThePanda/master
...
Bug fixing
2020-08-12 23:44:29 +02:00
tamat
a6105af416
fixes in gltextures
2020-08-12 12:19:33 +02:00