Improve scrollbar

This commit is contained in:
Jeremy Soller 2024-01-10 16:17:52 -07:00
parent 81a529bd5d
commit 4bde45bcdc
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
2 changed files with 3 additions and 2 deletions

View file

@ -341,7 +341,7 @@ where
renderer.fill_quad(
Quad {
bounds: scrollbar_rect + Vector::new(view_position.x, view_position.y),
border_radius: 0.0.into(),
border_radius: (scrollbar_w / 2.0).into(),
border_width: 0.0,
border_color: Color::TRANSPARENT,
},