0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

🐛 Fixes problems with flip and masks

This commit is contained in:
alonso.torres 2021-03-08 18:13:21 +01:00
parent f0eaf9aa20
commit 9e47318e09
2 changed files with 4 additions and 1 deletions

View file

@ -14,6 +14,7 @@
### :bug: Bugs fixed
- Fix broken profile and profile options form.
- Fix problem with mask and flip [#715](https://github.com/penpot/penpot/issues/715)
### :heart: Community contributions by (Thank you!)

View file

@ -160,7 +160,9 @@
(assoc :x (-> mask :selrect :x)
:y (-> mask :selrect :y)
:width (-> mask :selrect :width)
:height (-> mask :selrect :height)))))
:height (-> mask :selrect :height)
:flip-x (-> mask :flip-x)
:flip-y (-> mask :flip-y)))))
(update-group [group objects]
(let [children (->> group :shapes (map #(get objects %)))]
(cond