Fix scrollbar to default to invisible on first render. #146 (#158)

This commit is contained in:
Jason Lee 2024-08-16 14:07:59 +08:00 committed by GitHub
parent e86f90d309
commit a79d1a3dc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ impl Default for ScrollbarState {
hovered_axis: None,
dragged_axis: None,
drag_pos: point(px(0.), px(0.)),
visible: true,
visible: false,
}
}
}