diff options
author | graydoubt <graydoubt@graydoubt.com> | 2024-09-05 12:26:03 -0400 |
---|---|---|
committer | graydoubt <graydoubt@graydoubt.com> | 2024-09-06 06:20:22 -0400 |
commit | e589c5baf36a229df365ce8ba59a857d40f28649 (patch) | |
tree | cc28fd31e34a067746c3b490a400a581f46f958c /doc | |
parent | 88ed6af1e6844908293aa1599421b40870be513c (diff) | |
download | redot-engine-e589c5baf36a229df365ce8ba59a857d40f28649.tar.gz |
Expose Viewport.gui_cancel_drag() to GDScript as a counterpart to Control.force_drag()
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Viewport.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml index b24f26a764..350fd65197 100644 --- a/doc/classes/Viewport.xml +++ b/doc/classes/Viewport.xml @@ -117,6 +117,12 @@ Returns the visible rectangle in global screen coordinates. </description> </method> + <method name="gui_cancel_drag"> + <return type="void" /> + <description> + Cancels the drag operation that was previously started through [method Control._get_drag_data] or forced with [method Control.force_drag]. + </description> + </method> <method name="gui_get_drag_data" qualifiers="const"> <return type="Variant" /> <description> |