Make track rounded

This commit is contained in:
Jeremy Soller 2024-01-11 11:48:36 -07:00
parent 1db39bea3b
commit f2202bbf91
No known key found for this signature in database
GPG key ID: DCFCA852D3906975

View file

@ -608,7 +608,7 @@ where
Point::new(image_position.x + scrollbar_rect.x, image_position.y),
Size::new(scrollbar_rect.width, layout.bounds().height),
),
border_radius: 0.0.into(),
border_radius: (scrollbar_rect.width as f32 / 2.0).into(),
border_width: 0.0,
border_color: Color::TRANSPARENT,
},