Commit Graph

239 Commits

Author SHA1 Message Date
Shan M
626a69fec4 Error correction in type definition 2020-05-06 09:33:55 +03: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
26a72a0a44 added onResize event to nodes 2020-05-03 13:47:12 +02:00
tamat
22190622b4 fix in roundRect 2020-04-27 00:22:24 +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
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
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
Shan M
6ef31c8c3a Adds missing type for showMenuNodeOptionalOutputs 2020-03-31 17:21:53 +03: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
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
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
Julien MOREAU-MATHIS
cfe7cc1bdb Fixed DTS for registered_node_types, node_types_by_file_extension, and Nodes in LiteGraph to properly take LGraphNodeConstructor instead of LGraphNode. 2019-12-03 18:17:27 +01:00
tamat
337982ebfe optimization when rendering from far away 2019-11-14 14:25:46 +01:00
tamat
82c0ef837c better scroll in searchbox 2019-11-13 16:02:07 +01:00
tamat
514000aa81 fixes in scroll of searchbox 2019-11-13 16:00:06 +01:00
tamat
eb327547cc fix 2019-11-11 16:51:11 +01:00
tamat
a4352d5624 fix in onNodeDeselected 2019-11-11 16:30:04 +01:00
tamat
64a0109d87 fix in searchbox 2019-11-05 11:36:52 +01:00
DABEOM KIM
6d9fa8a41d Resolve "'LGraph' is not defined" issue
Resolve Unable to use SubGraph node with webpack.
2019-11-04 23:47:33 +09:00
DABEOM KIM
02f76a57df Support Microsoft Edge browser
event constructor type => pointerevent in MS Edge
2019-11-04 22:20:06 +09:00
tamat
775b714861 fixed bug in copy 2019-10-29 10:40:33 +01:00
tamat
ea6c909894 fixed bug in allow_searchbox 2019-10-23 10:04:58 +02:00
tamat
67ba69a14f fixed bug in context menu when fullscreen 2019-10-21 16:35:52 +02:00
tamat
be678adc0e fix in property editor 2019-10-21 13:20:53 +02:00
tamat
91d082cace fixes in replicated nodes 2019-09-02 23:33:59 +02:00
tamat
3bb18b7a1a added Download node 2019-08-16 21:15:30 +02:00
tamat
3612a46c77 Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2019-08-16 21:10:38 +02:00
tamat
ea2a44ed97 I think I messed up the git again... 2019-08-16 21:09:51 +02:00
NateScarlet
d1a1539dbe Correct use of last_link_id
Before this change, `last_link_id` is used as `next_link_id`
2019-08-12 16:22:37 +08:00