Call the proper method.

This commit is contained in:
Relintai 2024-03-07 23:33:19 +01:00
parent 66dcbb02b0
commit a94f302003

View File

@ -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);