Simplify sidebar styling.

This commit is contained in:
Greyson Parrelli
2026-08-26 22:38:03 -04:00
parent 4327c17fd7
commit afad6a2636
2 changed files with 26 additions and 13 deletions
+3 -3
View File
@@ -1629,9 +1629,9 @@ fn applySidebarCollapsed(self: *Window, collapsed: bool) void {
}
/// One row's share of the collapse: everything but the emoji (or kind icon)
/// goes. The status dot goes too — the bar down the row's leading edge and the
/// wash behind it carry the state at this width, and they were designed to be
/// the glanceable half of the pair anyway.
/// goes. The status dot goes too — the bar down the row's leading edge carries
/// the state at this width (with a wash behind it for the states that have one),
/// and it was designed to be the glanceable half of the pair anyway.
fn applyRowCollapsed(self: *Window, tab: *Tab) void {
const shown: c_int = @intFromBool(!self.sidebar_collapsed);
tab.label.as(gtk.Widget).setVisible(shown);