mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Draw tracked change widgets after the cursor (#14735)
GitOrigin-RevId: 1f059eab4e0a85909a1bfecf22d07e243dfeba39
This commit is contained in:
parent
8bf5790cdc
commit
8668fd3a15
1 changed files with 2 additions and 0 deletions
|
@ -263,6 +263,7 @@ const createChangeRange = (change: Change, currentDoc: CurrentDoc) => {
|
|||
|
||||
const changeWidget = Decoration.widget({
|
||||
widget: new ChangeDeletedWidget(change as Change<DeleteOperation>),
|
||||
side: 1,
|
||||
opType,
|
||||
id,
|
||||
metadata,
|
||||
|
@ -270,6 +271,7 @@ const createChangeRange = (change: Change, currentDoc: CurrentDoc) => {
|
|||
|
||||
const calloutWidget = Decoration.widget({
|
||||
widget: new ChangeCalloutWidget(change, opType),
|
||||
side: 1,
|
||||
opType,
|
||||
id,
|
||||
metadata,
|
||||
|
|
Loading…
Reference in a new issue