Skip to content
Snippets Groups Projects
Commit 3b1c95ae authored by chris's avatar chris
Browse files

fix track accept/delete block

parent c1db0dc9
No related branches found
No related tags found
1 merge request!627Track boxes
......@@ -33,6 +33,8 @@ const acceptTrackChange = (
if (trackData?.node?.type?.name === 'figure') {
to = activeTrackChange.from + 3;
} else if (activeTrackChange.from === to) {
to += 1;
}
tr.setMeta('AcceptReject', true);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment