mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 11:31:41 +02:00
🐛 Fix problem with group coordinates
This commit is contained in:
parent
7abbcdf226
commit
cc6b3dcec6
2 changed files with 6 additions and 2 deletions
|
@ -31,6 +31,8 @@
|
||||||
- Support for import/export binary format [Taiga #2991](https://tree.taiga.io/project/penpot/us/2991)
|
- Support for import/export binary format [Taiga #2991](https://tree.taiga.io/project/penpot/us/2991)
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
|
- Fix problem with group coordinates [#2008](https://github.com/penpot/penpot/issues/2008)
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
### :heart: Community contributions by (Thank you!)
|
### :heart: Community contributions by (Thank you!)
|
||||||
|
|
||||||
|
|
|
@ -78,8 +78,10 @@
|
||||||
;; In case of multiple selection, the origin point has been already
|
;; In case of multiple selection, the origin point has been already
|
||||||
;; calculated and given in the fake :ox and :oy attributes. See
|
;; calculated and given in the fake :ox and :oy attributes. See
|
||||||
;; common/src/app/common/attrs.cljc
|
;; common/src/app/common/attrs.cljc
|
||||||
(some? (:ox values)) (assoc :x (:ox values))
|
(and (= (:x values) :multiple)
|
||||||
(some? (:oy values)) (assoc :y (:oy values))))
|
(some? (:ox values))) (assoc :x (:ox values))
|
||||||
|
(and (= (:y values) :multiple)
|
||||||
|
(some? (:oy values))) (assoc :y (:oy values))))
|
||||||
|
|
||||||
;; For :height and :width we take those in the :selrect attribute, because
|
;; For :height and :width we take those in the :selrect attribute, because
|
||||||
;; not all shapes have an own :width and :height (e. g. paths). Here the
|
;; not all shapes have an own :width and :height (e. g. paths). Here the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue