Merge remote-tracking branch 'origin/main' into contextmenu-legacy-compat

This commit is contained in:
Johnpaul
2025-10-13 23:41:38 +01:00
520 changed files with 22964 additions and 12046 deletions

View File

@@ -46,12 +46,12 @@ describe('LGraphNodeProperties', () => {
})
})
it("should not emit events when value doesn't change", () => {
it('should emit event when value is set to the same value', () => {
new LGraphNodeProperties(mockNode)
mockNode.title = 'Test Node' // Same value as original
expect(mockGraph.trigger).toHaveBeenCalledTimes(0)
expect(mockGraph.trigger).toHaveBeenCalledTimes(1)
})
it('should not emit events when node has no graph', () => {

View File

@@ -283,6 +283,7 @@ LGraph {
"nodes_actioning": [],
"nodes_executedAction": [],
"nodes_executing": [],
"onTrigger": undefined,
"revision": 0,
"runningtime": 0,
"starttime": 0,