Try to fix (#96)

Find that in some cairo version Source operator is buggy. Maybe this
helps.
This commit is contained in:
daa 2018-05-09 13:58:50 +03:00
parent c2a3c74e70
commit c56c945f02

View File

@ -44,7 +44,7 @@ pub fn render<C: Cursor>(
let (cursor_row, cursor_col) = ui_model.get_cursor();
// draw text
ctx.set_operator(cairo::Operator::Source);
ctx.set_operator(cairo::Operator::Over);
for cell_view in ui_model.get_clip_iterator(ctx, cell_metrics) {
let mut line_x = 0.0;