0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

Merge pull request #740 from penpot/fix/mask-rotation-issue

🐛 Fixes problems with flip and masks
This commit is contained in:
Andrey Antukh 2021-03-08 22:48:20 +01:00 committed by GitHub
commit d70910fc0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,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