diff --git a/common/src/app/common/types/shape.cljc b/common/src/app/common/types/shape.cljc index 46c2074b6..2101f90f7 100644 --- a/common/src/app/common/types/shape.cljc +++ b/common/src/app/common/types/shape.cljc @@ -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}]}) diff --git a/frontend/src/app/main/data/workspace/colors.cljs b/frontend/src/app/main/data/workspace/colors.cljs index 2dd79469e..f947d5820 100644 --- a/frontend/src/app/main/data/workspace/colors.cljs +++ b/frontend/src/app/main/data/workspace/colors.cljs @@ -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))] diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs index 337882fe9..13a2984a4 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs @@ -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}))