mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
🐛 Fix problem with bool to path on svg shapes
This commit is contained in:
parent
aa7e70141c
commit
e8b4389a1a
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
(ns app.common.geom.shapes.bool
|
(ns app.common.geom.shapes.bool
|
||||||
(:require
|
(:require
|
||||||
[app.common.data :as d]
|
[app.common.data :as d]
|
||||||
|
[app.common.files.helpers :as cpf]
|
||||||
[app.common.svg.path.bool :as pb]
|
[app.common.svg.path.bool :as pb]
|
||||||
[app.common.svg.path.shapes-to-path :as stp]))
|
[app.common.svg.path.shapes-to-path :as stp]))
|
||||||
|
|
||||||
|
@ -16,6 +17,7 @@
|
||||||
(let [extract-content-xf
|
(let [extract-content-xf
|
||||||
(comp (map (d/getf objects))
|
(comp (map (d/getf objects))
|
||||||
(filter (comp not :hidden))
|
(filter (comp not :hidden))
|
||||||
|
(remove cpf/svg-raw-shape?)
|
||||||
(map #(stp/convert-to-path % objects))
|
(map #(stp/convert-to-path % objects))
|
||||||
(map :content))
|
(map :content))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue