From c56c945f025a9350a8e99ab4b77c447ff35f9966 Mon Sep 17 00:00:00 2001 From: daa Date: Wed, 9 May 2018 13:58:50 +0300 Subject: [PATCH] Try to fix (#96) Find that in some cairo version Source operator is buggy. Maybe this helps. --- src/render/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/mod.rs b/src/render/mod.rs index 19fecbb..e769116 100644 --- a/src/render/mod.rs +++ b/src/render/mod.rs @@ -44,7 +44,7 @@ pub fn render( 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;