Skip to content

Commit

Permalink
Make track rounded
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Jan 11, 2024
1 parent 1db39be commit f2202bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit f2202bb

Please sign in to comment.