mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix crash during drag if user freed the drag preview
This commit is contained in:
@@ -693,7 +693,7 @@
|
||||
<argument index="0" name="control" type="Control">
|
||||
</argument>
|
||||
<description>
|
||||
Shows the given control at the mouse pointer. A good time to call this method is in [method get_drag_data]. The control must not be in the scene tree.
|
||||
Shows the given control at the mouse pointer. A good time to call this method is in [method get_drag_data]. The control must not be in the scene tree. You should not free the control, and you should not keep a reference to the control beyond the duration of the drag. It will be deleted automatically after the drag has ended.
|
||||
[codeblock]
|
||||
export (Color, RGBA) var color = Color(1, 0, 0, 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user