diff options
| author | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-09-29 17:48:27 +0200 |
|---|---|---|
| committer | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-10-19 11:57:37 +0200 |
| commit | 1a95f893c4ed4d4ac872a294c64d06ee70fa10bd (patch) | |
| tree | fb0deddf534c76189f0044bca36b46ef2f8dc444 /scene/gui/control.cpp | |
| parent | 4387f9645b1f54755506804770ba15c6c9cd5094 (diff) | |
| download | redot-engine-1a95f893c4ed4d4ac872a294c64d06ee70fa10bd.tar.gz | |
Implement TileMap patterns palette
Diffstat (limited to 'scene/gui/control.cpp')
| -rw-r--r-- | scene/gui/control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 38da40a402..973074397b 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -740,7 +740,7 @@ bool Control::has_point(const Point2 &p_point) const { return Rect2(Point2(), get_size()).has_point(p_point); } -void Control::set_drag_forwarding(Node *p_target) { +void Control::set_drag_forwarding(Object *p_target) { if (p_target) { data.drag_owner = p_target->get_instance_id(); } else { |
