diff --git a/CHANGES.md b/CHANGES.md index 39ce090b91..66c4b22c14 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -31,6 +31,8 @@ - Support for import/export binary format [Taiga #2991](https://tree.taiga.io/project/penpot/us/2991) ### :bug: Bugs fixed + +- Fix problem with group coordinates [#2008](https://github.com/penpot/penpot/issues/2008) ### :arrow_up: Deps updates ### :heart: Community contributions by (Thank you!) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs index 7b2f613a56..79d84a7675 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs @@ -78,8 +78,10 @@ ;; In case of multiple selection, the origin point has been already ;; calculated and given in the fake :ox and :oy attributes. See ;; common/src/app/common/attrs.cljc - (some? (:ox values)) (assoc :x (:ox values)) - (some? (:oy values)) (assoc :y (:oy values)))) + (and (= (:x values) :multiple) + (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 ;; not all shapes have an own :width and :height (e. g. paths). Here the