mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 03:41:38 +02:00
🐛 Fix import svg with exterior strokes
This commit is contained in:
parent
4cdf8cec4e
commit
96aa756eb6
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