Commit Graph

417 Commits

Author SHA1 Message Date
Javi Agenjo
6c41bfb425 Merge pull request #138 from sha-N/patch-3
added type def for callback onNodeAdded
2020-05-11 12:53:35 +02:00
Shan M
0a2f8a1d6d added type def for callback onNodeAdded 2020-05-11 13:44:52 +03:00
Javi Agenjo
240cee0209 Merge pull request #124 from sker65/master
Added hook for slot context menu
2020-05-06 10:02:00 +02:00
Javi Agenjo
f8d73a0898 Merge pull request #133 from sha-N/patch-2
Error correction in type definition
2020-05-06 10:01:15 +02:00
Shan M
626a69fec4 Error correction in type definition 2020-05-06 09:33:55 +03:00
Javi Agenjo
ea5c156cd7 Merge pull request #130 from sha-N/patch-1
Update for missing type definitions
2020-05-05 17:09:28 +02:00
Shan M
dbb4391099 Update for missing type definitions
Updated onConnectInput to match current function definition

Added missing definitions for

LGraphCanvas.onDrawLinkTooltip
LGraphCanvas.onNodeMoved
LGraphCanvas.onSelectionChange
LGraphCanvas.onNodeSelected
LGraphCanvas.onNodeDeselected
LGraphCanvas.onShowNodePanel
LGraphCanvas.onNodeDblClicked

LGraphNode.onConnectionsChange

Can close #127
2020-05-05 18:07:39 +03:00
tamat
a1c312fab9 fix on onConnectInput to have more info 2020-05-05 12:57:59 +02:00
tamat
3087acad00 0.7.8 2020-05-03 13:47:49 +02:00
tamat
26a72a0a44 added onResize event to nodes 2020-05-03 13:47:12 +02:00
tamat
30e78c5d10 0.7.7 2020-04-27 00:22:46 +02:00
tamat
22190622b4 fix in roundRect 2020-04-27 00:22:24 +02:00
tamat
c54e6ca3bb 0.7.6 2020-04-26 23:57:02 +02:00
Stefan Rinke
ac1d8f8f71 - added hook for slot context menu 2020-04-23 00:07:18 +02:00
tamat
6ff8bb700d fix in roundRect 2020-04-21 12:38:54 +02:00
tamat
815b6e3602 Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2020-04-21 12:35:09 +02:00
tamat
78e55db0b1 fix in widgets 2020-04-21 12:35:02 +02:00
Javi Agenjo
6b95b47421 Merge pull request #119 from sha-N/patch-5
nodes attribute in selectNodes function is optional
2020-04-20 18:25:34 +02:00
Shan M
df5a042099 nodes attribute in selectNodes function is optional 2020-04-20 16:50:53 +03:00
Javi Agenjo
bb1ce7b899 Merge pull request #98 from amfl/websocket-fixes
Websocket node bugfixes
2020-04-15 10:51:00 +02:00
Javi Agenjo
e4c4d8acb3 Merge pull request #110 from DiegoBM/patch-1
Documentation mismatch
2020-04-15 10:49:22 +02:00
Javi Agenjo
738004f460 Merge pull request #118 from sha-N/patch-4
Fixes type definition for renderInfo()
2020-04-15 10:48:59 +02:00
Javi Agenjo
a027c0eb87 Merge pull request #113 from sha-N/patch-1
fixes type error in function wrapFunctionAsNode
2020-04-15 10:48:42 +02:00
Shan M
6607593471 fix typo 2020-04-15 11:45:25 +03:00
Shan M
9b6ff21e00 Fixes type definition for renderInfo() 2020-04-15 11:41:43 +03:00
tamat
e2fce11afc Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2020-04-08 17:15:01 +02:00
tamat
28c0eec6c2 fix 2020-04-08 17:14:32 +02:00
Javi Agenjo
e2b55738c9 Merge pull request #116 from sha-N/patch-3
adds missing type unregisterNodeType
2020-04-06 12:04:37 +02:00
tamat
99e1d85f4f 0.7.5 2020-04-06 12:03:37 +02:00
Shan M
03408f13df adds missing type unregisterNodeType 2020-04-06 12:06:36 +03:00
tamat
2158aff0b0 added setValue to some nodes 2020-04-03 17:45:05 +02:00
Javi Agenjo
52b82f23ca Merge pull request #114 from sha-N/patch-2
Adds missing type for showMenuNodeOptionalOutputs
2020-03-31 16:58:35 +02:00
Shan M
6ef31c8c3a Adds missing type for showMenuNodeOptionalOutputs 2020-03-31 17:21:53 +03:00
Javi Agenjo
e9e7c8df21 Update README.md 2020-03-29 20:50:20 +02:00
Shan M
d86b463d5e fixes type error in function wrapFunctionAsNode 2020-03-28 10:59:57 +03:00
tamat
e8eda9d30f fixes in audio 2020-03-25 13:13:58 +01:00
DiegoBM
f541bb412e Documentation mismatch
Some method names didn't match the actual method names, rendering the automatically generated documentation misleading
2020-03-24 23:39:17 +01:00
Javi Agenjo
6c98476cd5 Merge pull request #108 from smarthug/patch-2
resolve "TypeError: Cannot redefine property: shape" issue
2020-03-19 09:01:17 +01:00
tamat
45856c9785 Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2020-03-19 08:57:46 +01:00
tamat
7f4e5b8d79 fix 2020-03-19 08:57:36 +01:00
smarthug
d9cdf4ec13 resolve "TypeError: Cannot redefine property: shape" issue
When same node registered twice. It gives error.
ex:
LiteGraph.registerNodeType("basic/test", MyAddNode);
LiteGraph.registerNodeType("basic/test", MyAddNode);

To redefine an object property with "Object.defineProperty" method, configurable property should be set on true ( default is false)
ex : Object.defineProperty( '...' , '...' , {configurable: true})
2020-03-19 15:41:19 +09:00
Javi Agenjo
540d3474d0 Update README.md 2020-03-18 14:14:02 +01:00
Javi Agenjo
585692b3ae Update README.md 2020-03-04 18:38:39 +01:00
Javi Agenjo
811721bb2c updated 2020-03-04 18:26:15 +01:00
tamat
b550042709 fix 2020-02-15 01:45:16 +01:00
tamat
5cef341c29 added combo widget 2020-02-04 15:13:32 +01:00
amfl
d134ab73f0 bugfix: Websocket checks parsed payload data
We parse the JSON payload, but then it wasn't being referred to when we
were checking the data type, which could lead to looking at the `type`
attribute of a string.
2020-01-14 14:31:34 +13:00
amfl
40e09fe294 bugfix: Correct reference to websocket room name
When inside the onmessage function, `this` no longer refers to the
websocket node. It needs to be accessed with `that`, which is where we
stored it previously.
2020-01-14 14:31:23 +13:00
tamat
469e3d964c Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2020-01-13 18:41:16 +01:00
tamat
918b8599ae tiny fixes 2020-01-13 18:40:59 +01:00