mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 10:38:13 -05: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue