mirror of
https://github.com/penpot/penpot.git
synced 2025-07-27 05:47:23 +02:00
✨ Make the calculate-move-token-set-or-set-group fn private
This commit is contained in:
parent
dba67eea91
commit
a9e8d8f8f7
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
||||||
(defn vec-starts-with? [v1 v2]
|
(defn vec-starts-with? [v1 v2]
|
||||||
(= (subvec v1 0 (min (count v1) (count v2))) v2))
|
(= (subvec v1 0 (min (count v1) (count v2))) v2))
|
||||||
|
|
||||||
(defn calculate-move-token-set-or-set-group
|
(defn- calculate-move-token-set-or-set-group
|
||||||
[tokens-lib {:keys [from-index to-index position collapsed-paths]
|
[tokens-lib {:keys [from-index to-index position collapsed-paths]
|
||||||
:or {collapsed-paths #{}}}]
|
:or {collapsed-paths #{}}}]
|
||||||
(let [tree (-> (ctob/get-set-tree tokens-lib)
|
(let [tree (-> (ctob/get-set-tree tokens-lib)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue