🐛 Fix import svg with exterior strokes

This commit is contained in:
Alejandro Alonso 2022-05-09 12:46:52 +02:00
parent 4cdf8cec4e
commit 96aa756eb6
2 changed files with 20 additions and 15 deletions

View file

@ -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))