mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-02 11:06:14 +00:00
fix: find yspan.origin right error
This commit is contained in:
parent
cf3e3ee361
commit
5ac137c877
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ impl ContentMap {
|
||||||
let mut next_cursor = cursor.next_elem_start();
|
let mut next_cursor = cursor.next_elem_start();
|
||||||
let mut ans = None;
|
let mut ans = None;
|
||||||
while let Some(next_inner) = next_cursor {
|
while let Some(next_inner) = next_cursor {
|
||||||
if next_inner.as_ref().status.future {
|
if !next_inner.as_ref().status.future {
|
||||||
let mut cursor = next_inner.unwrap();
|
let mut cursor = next_inner.unwrap();
|
||||||
cursor.offset = 0;
|
cursor.offset = 0;
|
||||||
cursor.pos = Position::Start;
|
cursor.pos = Position::Start;
|
||||||
|
|
Loading…
Reference in a new issue