Michael Poutre
cfc64dfe52
feat: Target alignment when right clicking a specific node
2023-04-30 23:26:27 -07:00
Michael Poutre
9f3245d9f0
refactor: Only show Align options if more than one node is selected
2023-04-30 23:26:19 -07:00
Michael Poutre
badf134f12
feat: Add alignment for selected node
2023-04-30 23:26:12 -07:00
Javi Agenjo
976ba6f4f4
Merge pull request #385 from MarcMeszaros/moveable-interaction-off
...
Allow interactions per node override
2023-04-28 11:16:08 +02:00
Marc Meszaros
1dc167044e
Allow dragging and interacting with nodes with graph being read-only
2023-04-26 10:55:39 -07:00
Javi Agenjo
7ab10b5c10
Merge pull request #297 from mcejp/patch-slider-property
...
Fix: inner_value_change not called on slider interaction
2023-04-23 20:39:05 +02:00
Javi Agenjo
2047cfa772
Merge pull request #381 from pythongosssss/evaluate-decimals
...
Add support for decimal evaluation
2023-04-23 20:38:38 +02:00
pythongosssss
efdc798c1c
Add support for number[dot]number in the validation regex
2023-04-15 11:13:19 +01:00
comfyanonymous
9b92f5b647
Fix CTRL-C, CTRL-V not working on remapped keyboards.
2023-04-12 18:13:58 -04:00
Javi Agenjo
0970a40e7d
Merge pull request #374 from tianlang0704/master
...
Add global switch for ctrl+shift+v to maintain old behavior in lib.
2023-04-11 10:40:21 +02:00
Javi Agenjo
d47fdde066
Merge pull request #366 from fsmorygo/master
...
Add some missing `var`s
2023-04-11 10:39:26 +02:00
tamat
9c404cbb1b
added clear_background_color to clear, prior it was using the css bg color of the container
2023-04-11 10:08:14 +02: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
CMonk
c2460e2c4e
Add ctrl+shift+v global switch
2023-04-11 11:05:01 +08:00
lathan britz
a026a1ec8d
miggins vrs inX
2023-04-10 14:18:37 -04:00
Javi Agenjo
bb382a83bb
Merge pull request #367 from moritz89/fix-duplicate-slot-node-types
...
Fix duplicate slot node types
2023-04-10 19:00:16 +02:00
CMonk
01f6e15d92
Add Ctrl+Shift+V to paste with connected nodes
...
Update litegraph.js
2023-04-10 15:11:22 +08:00
Moritz Ulmer
8eb76138d0
Fix duplicate slot node types
...
Why:
- If a node has multiple of the same slot types, it is duplicated
This change addresses the need by:
- Checking if the node type has been added for a slot type
- Adding tests
- Improve legibility
2023-04-08 20:59:38 +02:00
Filipp Smorygo
bd6c500764
Add some missing vars
2023-04-08 01:56:25 +02:00
Javi Agenjo
ca1d7548ba
Merge branch 'master' into allow-equations-in-number-inputs
2023-04-07 19:23:09 +02:00
Javi Agenjo
492b7a507c
Merge pull request #364 from atlasan/contrib
...
missing var
2023-04-07 19:14:36 +02:00
Javi Agenjo
8c0a561c70
Merge pull request #359 from omar92/organize-inner_value_change
...
organize reciving input from prompt dialog
2023-04-07 18:51:49 +02:00
atlamede
b0302a253c
missing var
2023-04-06 22:08:55 +02:00
Baldur Gislason
bc6c4948d8
Moving options
2023-04-05 15:46:23 +00:00
Baldur Gislason
7675741f1a
renamed option
2023-04-05 15:42:01 +00:00
Baldur Gislason
d2c46d3e6d
Moved properties to the right place.
2023-04-05 15:41:07 +00:00
Baldur Gislason
f55bbacf02
Made it possible for sliders to be read only
2023-04-05 15:30:49 +00:00
Baldur Gislason
b3c8427232
Make the marker also stay within the designated area
2023-04-05 15:27:09 +00:00
Baldur Gislason
66e899643c
Made slider colours configurable
2023-04-05 15:26:22 +00:00
Baldur Gislason
cb8c35c760
Preventing slider from rendering outside its designated area if value it is based on is outside the expected range.
2023-04-05 15:21:17 +00:00
omar abdelzaher sleam
fb882aefb4
organize reciving input from prompt dialog
2023-04-05 03:45:12 +00:00
omar abdelzaher sleam
2a7f8d4fff
remove duplicated line
2023-04-05 05:20:29 +02:00
omar abdelzaher sleam
b0f0eb9ea9
secure eval
2023-04-05 05:19:33 +02:00
omar abdelzaher sleam
7dc24f14ed
try solve the numbers equations
2023-04-04 17:20:09 +00:00
Moritz Ulmer
c18df08a74
Add tests for registerNodeType
...
Why:
- Ensure that the function works as expected
This change addresses the need by:
- Add tests
- Remove duplicate logic
2023-03-31 15:04:49 +02:00
Moritz Ulmer
f64bb7ba6b
Replace deprecated function
2023-03-21 09:41:08 +01:00
Moritz Ulmer
6366f9132b
Add first test
...
Why:
- Every journey starts with a first step
This change addresses the need by:
- Adding jest and a test
- Resolve ESLint warnings/errors in the tested function
2023-03-20 16:08:50 +01:00
Javi Agenjo
de997aca7e
Merge pull request #348 from atlasan/contrib
...
fix undefined def_options
2023-03-20 11:40:39 +01:00
atlasan
31ec9567e0
fix undefined def_options
...
https://github.com/jagenjo/litegraph.js/issues/346
2023-03-20 11:00:23 +01:00
Moritz Ulmer
47ac1b7612
Proposed variable type update
...
Why:
- Reduces scope to required / expected of variables
This change addresses the need by:
- Using let / const instead of global / var
- Update ESlint configurtation
2023-03-20 10:54:38 +01:00
KaruroChori
23e81adc8e
Update litegraph.js
...
Prevent error since panel is not defined.
2023-03-18 18:07:05 +00: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
Mohsen Karami
d7c118987e
Prevent the blocks from becoming unselected as the user drags them.
2023-03-03 10:50:55 +03:30
Mohsen Karami
b57885e3d7
Prevent unselecting blocks if the user double-clicks on them.
2023-03-03 10:33:42 +03:30
Javi Agenjo
1312de64a7
Merge pull request #329 from mohsen-karami/master
...
Add the ability to select multi nodes/blocks without pressing extra keys (shift/Ctrl)
2023-03-02 11:52:17 +01: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
29fc1a3929
fix in widget
2023-02-28 14:05:51 +01:00
tamat
4252b513de
Merge branch 'master' of https://github.com/jagenjo/litegraph.js
2023-02-28 13:29:00 +01:00