Make cursor match text color
This commit is contained in:
parent
f03834e28d
commit
165ea1c0da
1 changed files with 2 additions and 2 deletions
|
|
@ -483,7 +483,7 @@ impl<'a> TextBuffer<'a> {
|
||||||
line_y - font_size,
|
line_y - font_size,
|
||||||
1,
|
1,
|
||||||
line_height as u32,
|
line_height as u32,
|
||||||
0x20FFFFFF,
|
color,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
let glyph = &line.glyphs[self.cursor.glyph];
|
let glyph = &line.glyphs[self.cursor.glyph];
|
||||||
|
|
@ -492,7 +492,7 @@ impl<'a> TextBuffer<'a> {
|
||||||
line_y - font_size,
|
line_y - font_size,
|
||||||
1,
|
1,
|
||||||
line_height as u32,
|
line_height as u32,
|
||||||
0x20FFFFFF,
|
color,
|
||||||
);
|
);
|
||||||
|
|
||||||
let text_line = &self.text_lines()[line.line_i.get()];
|
let text_line = &self.text_lines()[line.line_i.get()];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue