feat: add scrollbar for virtualized lists

This commit is contained in:
2026-11-04 13:05:39 +07:00
parent 4bfc816cbe
commit 50da1d4a9d
10 changed files with 1033 additions and 23 deletions
+7
View File
@@ -36,6 +36,13 @@ impl SourceKind {
Self::Windows => "Windows 11 (UISettings)",
}
}
/// Overlay scrollbars hide while idle on macOS, GNOME, and Omarchy.
///
/// Windows and KDE keep theirs drawn.
pub fn scrollbar_autohide(self) -> bool {
matches!(self, Self::Macos | Self::Omarchy | Self::Gnome)
}
}
/// A partial palette with optional colors.