mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 22:48:28 +02:00
🐛 Fix problems with bool shapes
This commit is contained in:
parent
6a0768b490
commit
5315dc18af
4 changed files with 97 additions and 7 deletions
|
@ -845,13 +845,11 @@
|
|||
(defn close-content
|
||||
[content]
|
||||
(into []
|
||||
(comp (filter sp/is-closed?)
|
||||
(mapcat :data))
|
||||
(mapcat :data)
|
||||
(->> content
|
||||
(sp/close-subpaths)
|
||||
(sp/get-subpaths))))
|
||||
|
||||
|
||||
(defn ray-overlaps?
|
||||
[ray-point {selrect :selrect}]
|
||||
(and (>= (:y ray-point) (:y1 selrect))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue