0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

🐛 Fixes the folders in the Swap pannel appear weird on mixed

This commit is contained in:
Pablo Alba 2024-03-12 21:34:45 +01:00
parent 8ee79e5d7c
commit f8c416c5ae

View file

@ -275,7 +275,7 @@
(defn- find-common-path
([components]
(let [paths (map (comp cfh/last-path :path) components)]
(let [paths (map (comp cfh/split-path :path) components)]
(find-common-path paths [] 0)))
([paths path n]
(let [current (nth (first paths) n nil)]