mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add sort:true when updating decorations for delete highlight (#21715)
GitOrigin-RevId: afd5aed5a4ea1ff7f9439155b5150b23666b0cc7
This commit is contained in:
parent
72f03b39c6
commit
83bed793f5
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ const updateDeleteWidgetHighlight = (
|
|||
}
|
||||
|
||||
return decorations.update({
|
||||
sort: true,
|
||||
filter: (from, to, decoration) => {
|
||||
return !widgetsToReplace.includes(decoration.spec?.widget)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue