Fix vi editor compilation
This commit is contained in:
parent
9158cb83d0
commit
7078c3bb98
1 changed files with 8 additions and 3 deletions
|
|
@ -421,9 +421,14 @@ impl<'a> Edit<'a> for ViEditor<'a> {
|
|||
None => color,
|
||||
};
|
||||
|
||||
cache.with_pixels(cache_key, glyph_color, |x, y, color| {
|
||||
f(x_int + x, line_y as i32 + y_int + y, 1, 1, color);
|
||||
});
|
||||
cache.with_pixels(
|
||||
self.buffer().font_system(),
|
||||
cache_key,
|
||||
glyph_color,
|
||||
|x, y, color| {
|
||||
f(x_int + x, line_y as i32 + y_int + y, 1, 1, color);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue