mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 20:28:11 +00:00
🐛 Fixes the folders in the Swap pannel appear weird on mixed
This commit is contained in:
parent
8ee79e5d7c
commit
f8c416c5ae
@ -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)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user