Merge pull request #12643 from overleaf/ae-initial-active-line-highlight

[cm6] Fix initial active line highlight

GitOrigin-RevId: 54de6a176e826ed7d7f1016ba6cee7a8803f0be4
This commit is contained in:
Alf Eaton
2023-04-19 08:02:53 +00:00
committed by Copybot
parent e16c83ea0c
commit 553f0b5f9e
@@ -40,7 +40,7 @@ const singleLineHighlighter = ViewPlugin.fromClass(
}
update(update: ViewUpdate) {
if (update.docChanged || update.selectionSet) {
if (update.geometryChanged || update.selectionSet) {
this.decorations = this.getDeco(update.view)
}
}