aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
diff options
context:
space:
mode:
authorPoommetee Ketson2018-03-29 12:46:21 +0700
committerHein-Pieter van Braam2018-04-28 20:00:42 +0200
commit287f169f2a068a8bee9ce522a23765450bcc7b99 (patch)
tree44cf44442937e1ee115e125ac9b970bca1e99c92 /doc/classes/Control.xml
parent60bc0f79a7bed70e6d98e1a92ddbfaae88022cfb (diff)
downloadgodot-287f169f2a068a8bee9ce522a23765450bcc7b99.tar.gz
godot-287f169f2a068a8bee9ce522a23765450bcc7b99.tar.zst
godot-287f169f2a068a8bee9ce522a23765450bcc7b99.zip
[Docs] fix typos
(cherry picked from commit a88ee7d920fb2b81d82ec8d9eeeb2d7cc44218d5)
Diffstat (limited to 'doc/classes/Control.xml')
-rw-r--r--doc/classes/Control.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml
index 98186451c..d8308ad4a 100644
--- a/doc/classes/Control.xml
+++ b/doc/classes/Control.xml
@@ -158,7 +158,7 @@
</argument>
<description>
Forces drag and bypasses [method get_drag_data] and [method set_drag_preview] by passing [code]data[/code] and [code]preview[/code]. Drag will start even if the mouse is neither over nor pressed on this control.
- The methods [method can_drop_data] and [method drop_data] must be implemented on controls that want to recieve drop data.
+ The methods [method can_drop_data] and [method drop_data] must be implemented on controls that want to receive drop data.
</description>
</method>
<method name="get_begin" qualifiers="const">
@@ -208,7 +208,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 recieve 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. 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].
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