mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -05:00
🐛 Fix custom stroke on rotated shapes
This commit is contained in:
parent
0befd25ab7
commit
fa3445edfb
1 changed files with 6 additions and 3 deletions
|
@ -40,7 +40,8 @@
|
|||
:strokeOpacity nil
|
||||
:strokeDasharray nil
|
||||
:fill "white"
|
||||
:fillOpacity 1}))
|
||||
:fillOpacity 1
|
||||
:transform nil}))
|
||||
|
||||
stroke-width (obj/get base-props "strokeWidth")
|
||||
shape-props (-> (obj/merge! #js {} base-props)
|
||||
|
@ -66,14 +67,16 @@
|
|||
:strokeOpacity 1
|
||||
:strokeDasharray nil
|
||||
:fill "white"
|
||||
:fillOpacity 1}))
|
||||
:fillOpacity 1
|
||||
:transform nil}))
|
||||
mask-props2 (-> (obj/merge! #js {} base-props)
|
||||
(obj/merge! #js {:stroke nil
|
||||
:strokeWidth nil
|
||||
:strokeOpacity nil
|
||||
:strokeDasharray nil
|
||||
:fill "black"
|
||||
:fillOpacity 1}))
|
||||
:fillOpacity 1
|
||||
:transform nil}))
|
||||
|
||||
shape-props1 (-> (obj/merge! #js {} base-props)
|
||||
(obj/merge! #js {:stroke nil
|
||||
|
|
Loading…
Add table
Reference in a new issue