mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05: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= (:height values) :multiple) (assoc :height height)))
|
||||
|
||||
values (let [{:keys [rotation]} (-> shapes first)]
|
||||
values (let [{:keys [rotation] :or {rotation 0}} (-> shapes first)]
|
||||
(cond-> values
|
||||
(not= (:rotation values) :multiple) (assoc :rotation rotation)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue