mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 02:41:38 +02:00
Merge pull request #1873 from penpot/superalex-import-svg-with-exterior-strokes
🐛 Import svg with exterior strokes
This commit is contained in:
commit
77e9b8aa70
2 changed files with 20 additions and 15 deletions
|
@ -189,7 +189,7 @@
|
|||
(defn get-object-bounds
|
||||
[objects object-id]
|
||||
(let [object (get objects object-id)
|
||||
padding (filters/calculate-padding object)
|
||||
padding (filters/calculate-padding object true)
|
||||
bounds (-> (filters/get-filters-bounds object)
|
||||
(update :x - (:horizontal padding))
|
||||
(update :y - (:vertical padding))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue