fix: Make sure provider switch buttons and close button don't overlap
This commit is contained in:
parent
e1637824c6
commit
6bfdb7ca4e
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user