mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 22:21:38 +02:00
Merge pull request #392 from tokens-studio/andrei/338-fix-positioning-of-a-stroke-created-by-token-application
✨ Change default storke alignment if it's created by token
This commit is contained in:
commit
272b609691
2 changed files with 2 additions and 2 deletions
|
@ -277,7 +277,7 @@
|
||||||
(assoc :stroke-style :solid)
|
(assoc :stroke-style :solid)
|
||||||
|
|
||||||
(not (contains? new-attrs :stroke-alignment))
|
(not (contains? new-attrs :stroke-alignment))
|
||||||
(assoc :stroke-alignment :center)
|
(assoc :stroke-alignment :inner)
|
||||||
|
|
||||||
:always
|
:always
|
||||||
(d/without-nils))]
|
(d/without-nils))]
|
||||||
|
|
|
@ -79,4 +79,4 @@
|
||||||
;; ==== Check
|
;; ==== Check
|
||||||
(println stroke')
|
(println stroke')
|
||||||
(t/is (some? shape1'))
|
(t/is (some? shape1'))
|
||||||
(t/is (= (:stroke-alignment stroke') :center))))))))
|
(t/is (= (:stroke-alignment stroke') :inner))))))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue