diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-10-24 13:22:52 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-10-24 13:22:52 -0500 |
commit | f25c082c40032014aa36051b790a48fa6efbc734 (patch) | |
tree | 92987b667085462fbb2acfc64b8126851725c56c /scene/main | |
parent | 7974ba57e91154b5e24b718bbd71eb5c3b64f26b (diff) | |
parent | e0c7e063e5a9544ba117a5cd91e61c68eaed61db (diff) | |
download | redot-engine-f25c082c40032014aa36051b790a48fa6efbc734.tar.gz |
Merge pull request #98490 from KoBeWi/pointer_to_canvas
Improve `make_canvas_position_local()` description
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/canvas_item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/canvas_item.cpp b/scene/main/canvas_item.cpp index c0386b056f..7c8bf9c809 100644 --- a/scene/main/canvas_item.cpp +++ b/scene/main/canvas_item.cpp @@ -1253,7 +1253,7 @@ void CanvasItem::_bind_methods() { ClassDB::bind_method(D_METHOD("force_update_transform"), &CanvasItem::force_update_transform); - ClassDB::bind_method(D_METHOD("make_canvas_position_local", "screen_point"), &CanvasItem::make_canvas_position_local); + ClassDB::bind_method(D_METHOD("make_canvas_position_local", "viewport_point"), &CanvasItem::make_canvas_position_local); ClassDB::bind_method(D_METHOD("make_input_local", "event"), &CanvasItem::make_input_local); ClassDB::bind_method(D_METHOD("set_visibility_layer", "layer"), &CanvasItem::set_visibility_layer); |