mirror of
https://github.com/penpot/penpot.git
synced 2026-02-28 23:34:26 +00:00
🐛 Fix rotation value when path is not rotated
This commit is contained in:
@@ -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)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user