Skip to content

Commit

Permalink
Use clip tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Mar 7, 2024
1 parent be0b5b5 commit ffb4c9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4309,7 +4309,7 @@ LayeredTileMapLayerEditor::LayeredTileMapLayerEditor() {

// Tabs.
tabs_bar = memnew(Tabs);
//tabs_bar->set_clip_tabs(false);
tabs_bar->set_clip_tabs(false);
for (int plugin_index = 0; plugin_index < tile_map_editor_plugins.size(); plugin_index++) {
Vector<LayeredTileMapLayerSubEditorPlugin::TabData> tabs_vector = tile_map_editor_plugins[plugin_index]->get_tabs();
for (int tab_index = 0; tab_index < tabs_vector.size(); tab_index++) {
Expand Down
3 changes: 1 addition & 2 deletions modules/layered_tile_map/editor/layered_tile_set_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,8 +850,7 @@ LayeredTileSetEditor::LayeredTileSetEditor() {

// Tabs.
tabs_bar = memnew(Tabs);
tabs_bar->set_tab_align(Tabs::ALIGN_CENTER);
//tabs_bar->set_clip_tabs(false);
tabs_bar->set_clip_tabs(false);
tabs_bar->add_tab(TTR("Tiles"));
tabs_bar->add_tab(TTR("Patterns"));
tabs_bar->connect("tab_changed", this, "_tab_changed");
Expand Down

0 comments on commit ffb4c9e

Please sign in to comment.