cabana: brighten quiet signals in dark mode (#38969)

This commit is contained in:
Trey Moen
2026-09-19 14:58:18 -07:00
committed by GitHub
parent 2eee697f7d
commit d375e7ff5d
@@ -541,7 +541,7 @@ void BinaryView::drawSignalCell(ImDrawList *painter, const ImRect &rect, const B
auto item = &cellAt(index);
CabanaColor color = sig->color;
color.a = item->bg_color.alpha();
color.a = std::max(item->bg_color.alpha(), palette().text.x > 0.5f ? 96 : 25);
const ImU32 edge = toImU32(signalOutline(sig->color));
for (const ImRect &clip : region) {