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:
Héctor Ramón Jiménez 2025-05-03 04:24:07 +02:00
parent f78a87c409
commit 7e4c02b3f6
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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,
}
}
}