0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 07:11:32 -05:00

🐛 Make default border inside

This commit is contained in:
alonso.torres 2024-02-02 12:22:20 +01:00 committed by Andrey Antukh
parent ced1f60940
commit 7ca30a313d
3 changed files with 4 additions and 3 deletions

View file

@ -411,7 +411,7 @@
:name "Path"
:fills []
:strokes [{:stroke-style :solid
:stroke-alignment :center
:stroke-alignment :inner
:stroke-width 2
:stroke-color clr/black
:stroke-opacity 1}]})

View file

@ -248,7 +248,7 @@
(assoc :stroke-style :solid)
(not (contains? new-attrs :stroke-alignment))
(assoc :stroke-alignment :center)
(assoc :stroke-alignment :inner)
:always
(d/without-nils))]

View file

@ -147,7 +147,8 @@
:stroke-cap-end stroke-cap-start} index)))))
on-add-stroke
(fn [_]
(st/emit! (dc/add-stroke ids {:stroke-style :solid
(st/emit! (dc/add-stroke ids {:stroke-alignment :inner
:stroke-style :solid
:stroke-color clr/black
:stroke-opacity 1
:stroke-width 1}))