1
0
mirror of synced 2025-01-22 11:33:46 +01:00

fix: Make sure provider switch buttons and close button don't overlap

This commit is contained in:
WerWolv 2025-01-14 22:10:58 +01:00
parent e1637824c6
commit 6bfdb7ca4e

View File

@ -439,6 +439,8 @@ namespace hex::plugin::builtin {
ImGui::PushStyleColor(ImGuiCol_TabSelected, ImGui::GetColorU32(ImGuiCol_MenuBarBg));
ImGui::PushStyleColor(ImGuiCol_TabDimmedSelected, ImGui::GetColorU32(ImGuiCol_MenuBarBg));
ImGui::GetCurrentWindow()->WorkRect.Max.x -= 25_scaled;
auto providerSelectorVisible = ImGui::BeginTabBar("provider_switcher", ImGuiTabBarFlags_FittingPolicyScroll | ImGuiTabBarFlags_Reorderable | ImGuiTabBarFlags_AutoSelectNewTabs);
ImGui::PopStyleColor(2);