fix(graph): tone down pending change counters

This commit is contained in:
2026-06-18 23:29:03 -05:00
parent 8368b0e237
commit 106a2b8cf9

View File

@@ -1436,7 +1436,12 @@ void draw_commit_table() {
const auto draw_count = [&](int count, FileChangeKind kind, const std::string& text) {
if (!count) return;
ImGui::SameLine(0, first_count ? ui(8.0f) : ui(10.0f));
ImGui::TextColored(change_color(kind), "%s", text.c_str());
const ScopedUiScale counter_scale(0.86f);
ImVec4 color = change_color(kind);
color.x *= 0.84f;
color.y *= 0.84f;
color.z *= 0.84f;
ImGui::TextColored(color, "%s", text.c_str());
first_count = false;
};
draw_count(modified_count, FileChangeKind::modified, modified_text);