mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
🐛 Fixes problems with flip and masks
This commit is contained in:
parent
f0eaf9aa20
commit
9e47318e09
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
- Fix broken profile and profile options form.
|
- 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!)
|
### :heart: Community contributions by (Thank you!)
|
||||||
|
|
|
@ -160,7 +160,9 @@
|
||||||
(assoc :x (-> mask :selrect :x)
|
(assoc :x (-> mask :selrect :x)
|
||||||
:y (-> mask :selrect :y)
|
:y (-> mask :selrect :y)
|
||||||
:width (-> mask :selrect :width)
|
: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]
|
(update-group [group objects]
|
||||||
(let [children (->> group :shapes (map #(get objects %)))]
|
(let [children (->> group :shapes (map #(get objects %)))]
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Reference in a new issue