diff options
| author | Delf Neumärker <delf@nmrkr.de> | 2021-02-24 12:47:14 +0100 |
|---|---|---|
| committer | Delf Neumärker <delf@nmrkr.de> | 2021-02-24 20:59:17 +0100 |
| commit | eaa04c1a222b57ccbc5a54a71e0793f0d4ad64e6 (patch) | |
| tree | c3e6d3e4d20caba18656acee9e6e5a0514f707da /doc/classes | |
| parent | d4191e48c5f4af920e87a70fe3c5ae9219a3332b (diff) | |
| download | redot-engine-eaa04c1a222b57ccbc5a54a71e0793f0d4ad64e6.tar.gz | |
Fix crash during drag if user freed the drag preview
Diffstat (limited to 'doc/classes')
| -rw-r--r-- | doc/classes/Control.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index e5285587eb..c5e820e9fe 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -869,7 +869,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. [codeblocks] [gdscript] export (Color, RGBA) var color = Color(1, 0, 0, 1) |
