perf: using :block/_parent instead of blocks->vec-tree

This commit is contained in:
Tienson Qin
2023-06-06 02:00:45 +08:00
parent c85d224e75
commit ed3b063575
8 changed files with 91 additions and 133 deletions

View File

@@ -84,8 +84,7 @@
(defn indent-outdent-block!
[block direction]
(outliner-tx/transact!
{:outliner-op :move-blocks}
(outliner-tx/transact! {:outliner-op :move-blocks}
(outliner-core/indent-outdent-blocks! [block] (= direction :right))))
(defn select-block!