mirror of
https://github.com/penpot/penpot.git
synced 2025-07-13 17:37:18 +02:00
🔥 Remove incorrect assert on path segment helper
This commit is contained in:
parent
0f46efc117
commit
520ea0e094
1 changed files with 0 additions and 2 deletions
|
@ -470,8 +470,6 @@
|
||||||
"Given a content and a set of points return all the segments in the path
|
"Given a content and a set of points return all the segments in the path
|
||||||
that uses the points"
|
that uses the points"
|
||||||
[content points]
|
[content points]
|
||||||
(assert (impl/path-data? content) "expected path data instance")
|
|
||||||
|
|
||||||
(let [point-set (set points)]
|
(let [point-set (set points)]
|
||||||
(loop [result (transient [])
|
(loop [result (transient [])
|
||||||
prev-point nil
|
prev-point nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue