Skip to content

Commit

Permalink
Improve scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Jan 10, 2024
1 parent f29b939 commit 6cf983e
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 @@ -597,7 +597,7 @@ where
Quad {
bounds: state.scrollbar_rect.get()
+ Vector::new(image_position.x, image_position.y),
border_radius: 0.0.into(),
border_radius: (scrollbar_w as f32 / 2.0).into(),
border_width: 0.0,
border_color: Color::TRANSPARENT,
},
Expand Down

0 comments on commit 6cf983e

Please sign in to comment.