summaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
diff options
context:
space:
mode:
authorSean Heffernan <seandheffernan@gmail.com>2019-05-23 19:15:43 -0700
committerSean Heffernan <seandheffernan@gmail.com>2019-05-23 21:11:24 -0700
commit426bcc9941e98696c872b0f6421d2ef28b987e60 (patch)
tree6e8f954997238b2b10ee9ce5847cca73a7d1d4db /doc/classes/Control.xml
parenta46b8e1ebfa0ef97c1fba046c6f2d975973c9401 (diff)
Change "Return" to "Returns" where necessary in XML documentation
In many of the XML files it had been noted that when the documentation refers to a return value, both "Return" and "Returns" are used. This has now been fixed to only say "Returns". Fixes #28867
Diffstat (limited to 'doc/classes/Control.xml')
-rw-r--r--doc/classes/Control.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml
index f888e1ee09..22061322c8 100644
--- a/doc/classes/Control.xml
+++ b/doc/classes/Control.xml
@@ -221,7 +221,7 @@
<argument index="0" name="position" type="Vector2">
</argument>
<description>
- Godot calls this method to get data that can be dragged and dropped onto controls that expect drop data. Return null if there is no data to drag. Controls that want to receive drop data should implement [method can_drop_data] and [method drop_data]. [code]position[/code] is local to this control. Drag may be forced with [method force_drag].
+ Godot calls this method to get data that can be dragged and dropped onto controls that expect drop data. Returns null if there is no data to drag. Controls that want to receive drop data should implement [method can_drop_data] and [method drop_data]. [code]position[/code] is local to this control. Drag may be forced with [method force_drag].
A preview that will follow the mouse that should represent the data can be set with [method set_drag_preview]. A good time to set the preview is in this method.
[codeblock]
extends Control