mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
f205d1f31d
commit
5717f51042
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ const singleLineHighlighter = ViewPlugin.fromClass(
|
||||||
}
|
}
|
||||||
|
|
||||||
update(update: ViewUpdate) {
|
update(update: ViewUpdate) {
|
||||||
if (update.docChanged || update.selectionSet) {
|
if (update.geometryChanged || update.selectionSet) {
|
||||||
this.decorations = this.getDeco(update.view)
|
this.decorations = this.getDeco(update.view)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue