From a94f302003fbae59d048b06657fc33cb7d2cb24f Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 7 Mar 2024 23:33:19 +0100 Subject: [PATCH] Call the proper method. --- .../layered_tile_map/editor/layered_tile_map_layer_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/layered_tile_map/editor/layered_tile_map_layer_editor.cpp b/modules/layered_tile_map/editor/layered_tile_map_layer_editor.cpp index 2664bfb2af..aa01983e77 100644 --- a/modules/layered_tile_map/editor/layered_tile_map_layer_editor.cpp +++ b/modules/layered_tile_map/editor/layered_tile_map_layer_editor.cpp @@ -2529,7 +2529,7 @@ LayeredTileMapLayerEditorTilesPlugin::LayeredTileMapLayerEditorTilesPlugin() { atlas_sources_split_container->add_child(tile_atlas_view); tile_atlas_control = memnew(Control); - tile_atlas_control->connect("draw", this, "set_atlas_view_transform"); + tile_atlas_control->connect("draw", this, "_tile_atlas_control_draw"); tile_atlas_control->connect("mouse_exited", this, "_tile_atlas_control_mouse_exited"); tile_atlas_control->connect("gui_input", this, "_tile_atlas_control_gui_input"); tile_atlas_view->add_control_over_atlas_tiles(tile_atlas_control);