mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 15:11:47 +02:00
🎉 Add stroke-alignment option
This commit is contained in:
parent
de826f606d
commit
9e21d6ab9d
8 changed files with 170 additions and 27 deletions
|
@ -16,7 +16,8 @@
|
|||
[uxbox.main.ui.shapes.common :as common]
|
||||
[uxbox.util.interop :as itr]
|
||||
[uxbox.util.geom.matrix :as gmt]
|
||||
[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]]))
|
||||
|
||||
;; --- Path Wrapper
|
||||
|
||||
|
@ -83,5 +84,10 @@
|
|||
:fill "transparent"
|
||||
:stroke-width "20px"
|
||||
:d pdata}]
|
||||
[:> "path" props]]
|
||||
[:> "path" props])))
|
||||
[:& shape-custom-stroke {:shape shape
|
||||
:base-props props
|
||||
:elem-name "path"}]]
|
||||
[:& shape-custom-stroke {:shape shape
|
||||
:base-props props
|
||||
:elem-name "path"}])))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue