Don't move cursor after remove
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-10-31 14:55:34 +01:00
parent 1bb21144f0
commit 5f375992b4

View File

@ -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)