mirror of
https://github.com/penpot/penpot.git
synced 2025-05-24 20:16:10 +02:00
✨ Improvements to loop removing
This commit is contained in:
parent
2184286a78
commit
1a7b098282
8 changed files with 96 additions and 73 deletions
|
@ -103,9 +103,7 @@
|
|||
(defn close-subpaths
|
||||
"Searches a path for posible supaths that can create closed loops and merge them"
|
||||
[content]
|
||||
|
||||
(let [subpaths (get-subpaths content)
|
||||
|
||||
closed-subpaths
|
||||
(loop [result []
|
||||
current (first subpaths)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue