Skip to content

Commit

Permalink
Round up background cell width
Browse files Browse the repository at this point in the history
Fixes daa84#253
  • Loading branch information
jacobmischka committed Oct 12, 2021
1 parent 37ebea4 commit 9452995
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, line_height);
ctx.rectangle(line_x, line_y, char_width.ceil(), line_height);
ctx.fill().unwrap();
}
} else {
Expand Down

0 comments on commit 9452995

Please sign in to comment.