fix(ui): use submodule-specific sidebar icon
This commit is contained in:
@@ -1696,7 +1696,7 @@ void draw_sidebar(float width) {
|
||||
section_heights[2],
|
||||
next_open_indices[2] < section_open.size() ? section_heights[next_open_indices[2]] / g_ui_scale : 0.0f,
|
||||
minimum_height, next_open_indices[2], next_open_indices[2] != last_open, section_open[2] && last_open != 2);
|
||||
section(ICON_TB_FOLDER_TREE " SUBMODULES", repo().submodules, ICON_TB_FOLDER,
|
||||
section(ICON_TB_FOLDER_TREE " SUBMODULES", repo().submodules, ICON_TB_LAYERS_LINKED,
|
||||
"Add submodule", "Add submodule", SidebarItemKind::submodule, 3,
|
||||
section_heights[3], 0.0f, minimum_height, section_open.size(), false, false);
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
Reference in New Issue
Block a user