Fix location of horizontal scrollbar

This commit is contained in:
Jeremy Soller 2024-05-30 15:41:28 -06:00
parent 53d7b06926
commit 55e89579ad
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -627,7 +627,7 @@ where
[
(scroll_x as f32 / max_line_width as f32) * image_w as f32
/ scale_factor,
image_h as f32 / scale_factor,
image_h as f32 / scale_factor - scrollbar_w as f32,
]
.into(),
Size::new(