Improvements for cursor
This commit is contained in:
parent
405c77bb47
commit
e20552ad13
2 changed files with 18 additions and 3 deletions
|
|
@ -476,7 +476,7 @@ impl<'a> TextBuffer<'a> {
|
|||
f(
|
||||
x as i32,
|
||||
line_y - font_size,
|
||||
(font_size / 2) as u32,
|
||||
1,
|
||||
line_height as u32,
|
||||
0x20FFFFFF,
|
||||
);
|
||||
|
|
@ -485,7 +485,7 @@ impl<'a> TextBuffer<'a> {
|
|||
f(
|
||||
glyph.x as i32,
|
||||
line_y - font_size,
|
||||
glyph.w as u32,
|
||||
1,
|
||||
line_height as u32,
|
||||
0x20FFFFFF,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue