Draw tracked change widgets after the cursor (#14735)

GitOrigin-RevId: 1f059eab4e0a85909a1bfecf22d07e243dfeba39
This commit is contained in:
Alf Eaton 2023-09-11 10:56:55 +01:00 committed by Copybot
parent 8bf5790cdc
commit 8668fd3a15

View file

@ -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,