Skip to content

Commit

Permalink
Fix leftmost title pixel sometimes being cut off
Browse files Browse the repository at this point in the history
  • Loading branch information
Friz64 committed Nov 10, 2023
1 parent 702a0da commit a0587ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ fn draw_headerbar(
Transform::identity(),
);
pixmap.draw_pixmap(
x as i32,
x.round() as i32,
y as i32,
text_pixmap.as_ref(),
&PixmapPaint::default(),
Expand Down

0 comments on commit a0587ac

Please sign in to comment.