Don't move cursor after remove
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1bb21144f0
commit
5f375992b4
|
@ -49,7 +49,6 @@ function createCursor(start) {
|
||||||
if (cursor >= store.length()) {
|
if (cursor >= store.length()) {
|
||||||
cursor = store.length() - 1
|
cursor = store.length() - 1
|
||||||
}
|
}
|
||||||
cursor = store.firstSameIndented(cursor, item.indented)
|
|
||||||
},
|
},
|
||||||
insertAbove(store, item) {
|
insertAbove(store, item) {
|
||||||
store.insertBefore(store.currentID(cursor), item)
|
store.insertBefore(store.currentID(cursor), item)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user