feat: raw deals dnd between statuses

This commit is contained in:
2025-08-01 10:01:39 +04:00
parent 8af4a908e6
commit 5fe9ea6747
14 changed files with 507 additions and 7 deletions

View File

@ -27,10 +27,10 @@ export function getNewLexorank(
): LexoRank {
if (right) {
if (left) return left?.between(right);
return right.genPrev();
return right.between(LexoRank.min());
}
if (left) {
return left.genNext();
return left.between(LexoRank.max());
}
return LexoRank.middle();
}