diff --git a/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp b/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp index 5d976b162..2a9cc1fe5 100644 --- a/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp +++ b/modules/layered_tile_map/editor/layered_tile_set_atlas_source_editor.cpp @@ -2028,7 +2028,8 @@ void LayeredTileSetAtlasSourceEditor::_tile_alternatives_control_gui_input(const selected = selection.front()->get(); menu_option_coords = selected.tile; menu_option_alternative = selected.alternative; - alternative_tile_popup_menu->popup(Rect2i(get_global_transform().xform(get_local_mouse_position()), Size2i())); + alternative_tile_popup_menu->set_position(get_global_transform().xform(get_local_mouse_position())); + alternative_tile_popup_menu->popup(); } }