Skip to content

Commit c30af83

Browse files
authored
Merge pull request #13 from Speedy37/fix-issue11
fix #11
2 parents a360243 + d0fb653 commit c30af83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ impl EguiSoftwareRender {
624624
let cropped_max = mesh_max.min(clip_rect.max.to_vec2());
625625
let clip_rect = egui::Rect {
626626
min: Pos2::ZERO,
627-
max: (cropped_max - cropped_min).to_pos2(),
627+
max: (cropped_max - cropped_min).to_pos2() + egui::Vec2::splat(0.5),
628628
};
629629

630630
let hash = {

0 commit comments

Comments
 (0)