Improve scrollbar
This commit is contained in:
parent
f29b939516
commit
6cf983e4f1
1 changed files with 1 additions and 1 deletions
|
|
@ -597,7 +597,7 @@ where
|
||||||
Quad {
|
Quad {
|
||||||
bounds: state.scrollbar_rect.get()
|
bounds: state.scrollbar_rect.get()
|
||||||
+ Vector::new(image_position.x, image_position.y),
|
+ 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_width: 0.0,
|
||||||
border_color: Color::TRANSPARENT,
|
border_color: Color::TRANSPARENT,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue