Don't move cursor after remove
continuous-integration/drone/push Build is passing Details

single-block-api
Peter Stuifzand 3 years ago
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…
Cancel
Save