Simplify sidebar styling.
This commit is contained in:
+3
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user