Fix location of horizontal scrollbar
This commit is contained in:
parent
53d7b06926
commit
55e89579ad
1 changed files with 1 additions and 1 deletions
|
|
@ -627,7 +627,7 @@ where
|
||||||
[
|
[
|
||||||
(scroll_x as f32 / max_line_width as f32) * image_w as f32
|
(scroll_x as f32 / max_line_width as f32) * image_w as f32
|
||||||
/ scale_factor,
|
/ scale_factor,
|
||||||
image_h as f32 / scale_factor,
|
image_h as f32 / scale_factor - scrollbar_w as f32,
|
||||||
]
|
]
|
||||||
.into(),
|
.into(),
|
||||||
Size::new(
|
Size::new(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue