mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-26 11:23:31 +04:00
Fix cursor not showing on (0, 0)
This commit is contained in:
parent
5773bd6a40
commit
661dbdca57
@ -240,7 +240,7 @@ pub fn render_buffer(
|
|||||||
for selection in doc
|
for selection in doc
|
||||||
.selection(view.id)
|
.selection(view.id)
|
||||||
.iter()
|
.iter()
|
||||||
.filter(|range| screen.overlaps(&range))
|
.filter(|range| range.overlaps(&screen))
|
||||||
{
|
{
|
||||||
// TODO: render also if only one of the ranges is in viewport
|
// TODO: render also if only one of the ranges is in viewport
|
||||||
let mut start = view.screen_coords_at_pos(doc, text, selection.anchor);
|
let mut start = view.screen_coords_at_pos(doc, text, selection.anchor);
|
||||||
|
Loading…
Reference in New Issue
Block a user