mirror of
https://github.com/penpot/penpot.git
synced 2025-07-16 22:45:14 +02:00
✨ Add minor improvements to get-segments-with-points
And rename it from `get-segments`
This commit is contained in:
parent
3a22545158
commit
60f754f172
3 changed files with 62 additions and 45 deletions
|
@ -48,7 +48,7 @@
|
|||
|
||||
|
||||
(defn check-enabled [content selected-points]
|
||||
(let [segments (path.segm/get-segments content selected-points)
|
||||
(let [segments (path.segm/get-segments-with-points content selected-points)
|
||||
num-segments (count segments)
|
||||
num-points (count selected-points)
|
||||
points-selected? (seq selected-points)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue