mirror of
https://github.com/penpot/penpot.git
synced 2025-07-27 06:07:18 +02:00
🎉 Add stroke-alignment option
This commit is contained in:
parent
de826f606d
commit
9e21d6ab9d
8 changed files with 170 additions and 27 deletions
|
@ -15,7 +15,8 @@
|
|||
[uxbox.main.ui.shapes.attrs :as attrs]
|
||||
[uxbox.main.ui.shapes.common :as common]
|
||||
[uxbox.util.interop :as itr]
|
||||
[uxbox.main.ui.shapes.bounding-box :refer [bounding-box]]))
|
||||
[uxbox.main.ui.shapes.bounding-box :refer [bounding-box]]
|
||||
[uxbox.main.ui.shapes.custom-stroke :refer [shape-custom-stroke]]))
|
||||
|
||||
;; --- Rect Wrapper
|
||||
|
||||
|
@ -53,4 +54,8 @@
|
|||
:id (str "shape-" id)
|
||||
:width width
|
||||
:height height}))]
|
||||
[:> "rect" props]))
|
||||
|
||||
[:& shape-custom-stroke {:shape shape
|
||||
:base-props props
|
||||
:elem-name "rect"}]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue