mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
Fix outer-rect impl for rect like shapes.
Now is again aware of rotation value. Signed-off-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
99da1c21d1
commit
5c7188eeba
@ -268,7 +268,8 @@
|
||||
[{:keys [group] :as shape}]
|
||||
(as-> shape $
|
||||
(assoc $ :x (:x1 shape) :y (:y1 shape))
|
||||
(merge $ (size $))))
|
||||
(merge $ (size $))
|
||||
(container-rect $)))
|
||||
|
||||
(defmethod outer-rect' :builtin/line
|
||||
[{:keys [x1 y1 x2 y2 group] :as shape}]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user