Enable/disable scrollbar auto-hide based on OS setting

This commit is contained in:
Max Brunsfeld 2022-10-10 18:12:31 -07:00
parent b229bc69b9
commit e2700ff8c6
4 changed files with 35 additions and 9 deletions

View file

@ -63,6 +63,7 @@ pub trait Platform: Send + Sync {
fn delete_credentials(&self, url: &str) -> Result<()>;
fn set_cursor_style(&self, style: CursorStyle);
fn should_auto_hide_scrollbars(&self) -> bool;
fn local_timezone(&self) -> UtcOffset;