diff options
author | kobewi <kobewi4e@gmail.com> | 2021-11-10 02:27:37 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-01-26 13:58:32 +0100 |
commit | e793331cd71f0fd147d22f588a6afa170e17f4a9 (patch) | |
tree | 5646a9b81727edda181f45d952d3bff78836a37b /editor/plugins/tiles/tile_map_editor.h | |
parent | 672363f295495478ef7d03ea00878b8ebfbdb430 (diff) | |
download | redot-engine-e793331cd71f0fd147d22f588a6afa170e17f4a9.tar.gz |
Allow sorting tileset sources
Diffstat (limited to 'editor/plugins/tiles/tile_map_editor.h')
-rw-r--r-- | editor/plugins/tiles/tile_map_editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/tiles/tile_map_editor.h b/editor/plugins/tiles/tile_map_editor.h index b1bee03211..6fa0d01612 100644 --- a/editor/plugins/tiles/tile_map_editor.h +++ b/editor/plugins/tiles/tile_map_editor.h @@ -145,6 +145,7 @@ private: Label *invalid_source_label; ItemList *sources_list; + MenuButton *source_sort_button; Ref<Texture2D> missing_atlas_texture_icon; void _update_tile_set_sources_list(); @@ -170,6 +171,7 @@ private: void _tile_alternatives_control_gui_input(const Ref<InputEvent> &p_event); void _update_atlas_view(); + void _set_source_sort(int p_sort); // Scenes collection sources. ItemList *scene_tiles_list; |