mirror of
https://github.com/penpot/penpot.git
synced 2025-07-11 01:17:19 +02:00
🐛 Fix rotation value when path is not rotated
This commit is contained in:
parent
f68a4eb84a
commit
141bcdd25e
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@
|
||||||
(not= (:width values) :multiple) (assoc :width width)
|
(not= (:width values) :multiple) (assoc :width width)
|
||||||
(not= (:height values) :multiple) (assoc :height height)))
|
(not= (:height values) :multiple) (assoc :height height)))
|
||||||
|
|
||||||
values (let [{:keys [rotation]} (-> shapes first)]
|
values (let [{:keys [rotation] :or {rotation 0}} (-> shapes first)]
|
||||||
(cond-> values
|
(cond-> values
|
||||||
(not= (:rotation values) :multiple) (assoc :rotation rotation)))
|
(not= (:rotation values) :multiple) (assoc :rotation rotation)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue