Skip to content

Commit

Permalink
design: fix servers sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
stowmyy committed Oct 25, 2023
1 parent c6d8f6c commit 92702e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dropship/src/DashboardManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,11 @@ void DashboardManager::RenderInline()
ImGui::PushStyleColor(ImGuiCol_HeaderActive, selected ? color_secondary : color_secondary_faded);
ImGui::PushStyleColor(ImGuiCol_NavHighlight, NULL);
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 16.0f);
ImGui::Selectable("##end", &highlighted, 0, { ImGui::GetContentRegionAvail().x - 16, 73 });
ImGui::Selectable("##end", &highlighted, 0, { ImGui::GetContentRegionAvail().x - 16, 73 - 10 });
ImGui::PopStyleColor(4);
ImGui::PopStyleVar();
ImGui::PopID();

ImGui::Spacing();

auto hovered = ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup);
Expand Down

0 comments on commit 92702e0

Please sign in to comment.