fix(sidebar): remove section header hover fill

This commit is contained in:
2026-06-18 23:51:10 -05:00
parent f869ecf46b
commit 45a4ceb72a

View File

@@ -564,10 +564,8 @@ bool sidebar_collapse_row(const char* id, const std::string& label, bool default
};
const bool clicked = ImGui::InvisibleButton("##collapse", size);
const ImVec2 minimum = ImGui::GetItemRectMin();
const ImVec2 maximum = ImGui::GetItemRectMax();
ImDrawList* draw = ImGui::GetWindowDrawList();
const bool hovered = ImGui::IsItemHovered();
if (hovered) draw->AddRectFilled(minimum, maximum, IM_COL32(51, 55, 63, 220));
constexpr ImU32 icon_color = IM_COL32(112, 118, 128, 255);
const ImU32 chevron_color = hovered
? IM_COL32(218, 223, 231, 255) : IM_COL32(126, 132, 142, 255);