mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 19:58:35 +02:00
Merge pull request #1908 from penpot/eva-no-rotation-in-paths
🐛 Fix rotation value when path is not rotated
This commit is contained in:
commit
f290465edd
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
Add a link
Reference in a new issue