mirror of https://github.com/penpot/penpot.git
🐛 Fix problem with export size (#7374)
This commit is contained in:
parent
412cf61d7d
commit
378be9473d
|
|
@ -17,6 +17,7 @@
|
|||
- Fix selection problems when devtools open [Taiga #11950](https://tree.taiga.io/project/penpot/issue/11950)
|
||||
- Fix long font names overlap [Taiga #11844](https://tree.taiga.io/project/penpot/issue/11844)
|
||||
- Fix paste behavior according to the selected element [Taiga #11979](https://tree.taiga.io/project/penpot/issue/11979)
|
||||
- Fix problem with export size [#7160](https://github.com/penpot/penpot/issues/7160)
|
||||
|
||||
## 2.10.0 (Unreleased)
|
||||
|
||||
|
|
|
|||
|
|
@ -88,8 +88,11 @@
|
|||
([shape]
|
||||
(get-shape-filter-bounds shape false))
|
||||
([shape ignore-shadow-margin?]
|
||||
(if (and (cfh/svg-raw-shape? shape)
|
||||
(not= :svg (dm/get-in shape [:content :tag])))
|
||||
(if (or (and (cfh/svg-raw-shape? shape)
|
||||
(not= :svg (dm/get-in shape [:content :tag])))
|
||||
;; If no shadows or blur, we return the selrect as is
|
||||
(and (empty? (-> shape :shadow))
|
||||
(zero? (-> shape :blur :value (or 0)))))
|
||||
(dm/get-prop shape :selrect)
|
||||
(let [filters (shape->filters shape)
|
||||
blur-value (or (-> shape :blur :value) 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue