0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-20 13:42:59 -05: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:
Florian Schrödl 2025-01-02 08:53:13 +01:00 committed by GitHub
commit 272b609691
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -277,7 +277,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

@ -79,4 +79,4 @@
;; ==== Check
(println stroke')
(t/is (some? shape1'))
(t/is (= (:stroke-alignment stroke') :center))))))))
(t/is (= (:stroke-alignment stroke') :inner))))))))