tmp commit

This commit is contained in:
Kevin Jahns
2022-04-11 15:54:10 +02:00
parent a0c9235a36
commit b2b7b8c280
4 changed files with 121 additions and 22 deletions

View File

@@ -18,7 +18,7 @@ export const getMovedCoords = (moved, tr) => {
let end // this (exclusive) is the first item after start that is not part of the moved area
if (moved.start.item) {
if (moved.start.assoc < 0) {
start = getItemCleanEnd(tr, moved.start.item)
start = getItemCleanEnd(tr, moved.start.item) // @todo Try using getItem after all tests succeed again.
start = start.right
} else {
start = getItemCleanStart(tr, moved.start.item)