1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Merge pull request #56575 from HaSa1002/drag-signal-began

Rename GraphEdit `connection_drag_begun` to `connection_drag_started`
This commit is contained in:
Rémi Verschelde
2022-01-07 20:41:39 +01:00
committed by GitHub
2 changed files with 12 additions and 12 deletions

View File

@@ -113,7 +113,7 @@
<return type="void" />
<description>
Ends the creation of the current connection. In other words, if you are dragging a connection you can use this method to abort the process and remove the line that followed your cursor.
This is best used together with [signal connection_drag_begun] and [signal connection_drag_ended] to add custom behavior like node addition through shortcuts.
This is best used together with [signal connection_drag_started] and [signal connection_drag_ended] to add custom behavior like node addition through shortcuts.
[b]Note:[/b] This method suppresses any other connection request signals apart from [signal connection_drag_ended].
</description>
</method>
@@ -249,7 +249,12 @@
Emitted at the beginning of a GraphNode movement.
</description>
</signal>
<signal name="connection_drag_begun">
<signal name="connection_drag_ended">
<description>
Emitted at the end of a connection drag.
</description>
</signal>
<signal name="connection_drag_started">
<argument index="0" name="from" type="String" />
<argument index="1" name="slot" type="String" />
<argument index="2" name="is_output" type="bool" />
@@ -257,11 +262,6 @@
Emitted at the beginning of a connection drag.
</description>
</signal>
<signal name="connection_drag_ended">
<description>
Emitted at the end of a connection drag.
</description>
</signal>
<signal name="connection_from_empty">
<argument index="0" name="to" type="StringName" />
<argument index="1" name="to_slot" type="int" />