mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-11-28 21:20:23 +03:00
Only draw cursorline in the currently focused buffer
This commit is contained in:
parent
425de09d21
commit
fde9e034d4
@ -112,7 +112,7 @@ impl EditorView {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if editor.config().cursorline {
|
if is_focused && editor.config().cursorline {
|
||||||
Self::highlight_cursorline(doc, view, surface, theme);
|
Self::highlight_cursorline(doc, view, surface, theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user