From bfbe04e78c489e6f53e210b6b01cef39f53998f9 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 9 Mar 2024 08:03:18 +0100 Subject: [PATCH] Fix method name. --- modules/layered_tile_map/editor/layered_tile_atlas_view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/layered_tile_map/editor/layered_tile_atlas_view.cpp b/modules/layered_tile_map/editor/layered_tile_atlas_view.cpp index bec2f9158..f2353cf1c 100644 --- a/modules/layered_tile_map/editor/layered_tile_atlas_view.cpp +++ b/modules/layered_tile_map/editor/layered_tile_atlas_view.cpp @@ -634,7 +634,7 @@ LayeredTileAtlasView::LayeredTileAtlasView() { center_container = memnew(CenterContainer); center_container->set_mouse_filter(Control::MOUSE_FILTER_IGNORE); center_container->set_anchors_preset(Control::PRESET_CENTER); - center_container->connect("gui_input", this, "gui_input"); + center_container->connect("gui_input", this, "_gui_input"); center_container->connect("focus_exited", panner.ptr(), "release_pan_key"); center_container->set_focus_mode(FOCUS_CLICK); panel->add_child(center_container);