feat: add scrollbar for virtualized lists
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user