You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the GraphEdit scroll bars to change the scroll position within the graph canvas, all GraphNode instances on the canvas emit a resized event. As the GraphNode is not being resized and only the scroll offset is being adjusted, it makes no sense why a GraphNode raises a resized event.
This only seems to apply to GraphNode instances within the viewport of the GraphEdit canvas. Once the node has left the view of the canvas, it stops emitting the signal.
In Godot 4.3, there is the new resized_end event; however, for code that needs to be compatible with Godot 4.2, this signal isn't possible for Godot 4.2 and the only viable option is resized.
Steps to reproduce
Create a GraphEdit
Add a GraphNode to the canvas
Connect a signal callback to the resized signal of the GraphNode
Move the scroll bars in the GraphEdit, the resized events are fired for the node instances.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
Tested versions
4.3.beta2
System information
Windows 11
Issue description
When using the
GraphEdit
scroll bars to change the scroll position within the graph canvas, allGraphNode
instances on the canvas emit aresized
event. As theGraphNode
is not being resized and only the scroll offset is being adjusted, it makes no sense why aGraphNode
raises aresized
event.This only seems to apply to
GraphNode
instances within the viewport of the GraphEdit canvas. Once the node has left the view of the canvas, it stops emitting the signal.In Godot 4.3, there is the new
resized_end
event; however, for code that needs to be compatible with Godot 4.2, this signal isn't possible for Godot 4.2 and the only viable option isresized
.Steps to reproduce
resized
signal of the GraphNoderesized
events are fired for the node instances.Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: