mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 03:46:42 +02:00
🐛 Fixed console error with NaN stroke
This commit is contained in:
parent
5b7ffac74e
commit
04246936d2
1 changed files with 7 additions and 7 deletions
|
@ -63,7 +63,7 @@
|
|||
|
||||
(= stroke-position :outer)
|
||||
(let [stroke-mask-id (str "mask-" @stroke-id)
|
||||
stroke-width (.-strokeWidth ^js base-props)
|
||||
stroke-width (or (.-strokeWidth ^js base-props) 0)
|
||||
mask-props1 (-> (obj/merge! #js {} base-props)
|
||||
(obj/merge! #js {:stroke "white"
|
||||
:strokeWidth (* stroke-width 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue