Skip to content

Commit

Permalink
Reduce extra background overflow
Browse files Browse the repository at this point in the history
This is more magical than before, but still fixes the bug and causes
fewer problems.
  • Loading branch information
jacobmischka committed Jul 15, 2021
1 parent 5b00d9a commit 49c99a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ fn draw_cell_bg(
if !line.is_binded_to_item(col) {
if bg != hl.bg() {
ctx.set_source_rgbo(bg, bg_alpha);
ctx.rectangle(line_x, line_y, char_width.ceil(), line_height);
ctx.rectangle(line_x, line_y, char_width + 0.001, line_height);
ctx.fill();
}
} else {
Expand Down

0 comments on commit 49c99a3

Please sign in to comment.