mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 06:39:02 +02:00
Draw tracked change widgets after the cursor (#14735)
GitOrigin-RevId: 1f059eab4e0a85909a1bfecf22d07e243dfeba39
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user