Set is_scrollbar_visible to true by default
This should optimize the worst layout case—when scrollables with a lot of content are first shown.
This commit is contained in:
parent
f78a87c409
commit
7e4c02b3f6
1 changed files with 1 additions and 1 deletions
|
|
@ -1417,7 +1417,7 @@ impl Default for State {
|
|||
keyboard_modifiers: keyboard::Modifiers::default(),
|
||||
last_notified: None,
|
||||
last_scrolled: None,
|
||||
is_scrollbar_visible: false,
|
||||
is_scrollbar_visible: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue