Try to fix (#96)
Find that in some cairo version Source operator is buggy. Maybe this helps.
This commit is contained in:
parent
c2a3c74e70
commit
c56c945f02
@ -44,7 +44,7 @@ pub fn render<C: Cursor>(
|
|||||||
let (cursor_row, cursor_col) = ui_model.get_cursor();
|
let (cursor_row, cursor_col) = ui_model.get_cursor();
|
||||||
|
|
||||||
// draw text
|
// 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) {
|
for cell_view in ui_model.get_clip_iterator(ctx, cell_metrics) {
|
||||||
let mut line_x = 0.0;
|
let mut line_x = 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user