mirror of
https://github.com/penpot/penpot.git
synced 2025-07-16 10:45:16 +02:00
🐛 Fixed problem with stroke
This commit is contained in:
parent
090dbfda10
commit
8b8d614150
1 changed files with 3 additions and 6 deletions
|
@ -124,12 +124,9 @@
|
|||
(st/emit! (dch/update-shapes ids #(assoc % :stroke-alignment value))))))
|
||||
|
||||
on-stroke-width-change
|
||||
(fn [event]
|
||||
(let [value (-> (dom/get-target event)
|
||||
(dom/get-value)
|
||||
(d/parse-integer 0))]
|
||||
(when-not (str/empty? value)
|
||||
(st/emit! (dch/update-shapes ids #(assoc % :stroke-width value))))))
|
||||
(fn [value]
|
||||
(when-not (str/empty? value)
|
||||
(st/emit! (dch/update-shapes ids #(assoc % :stroke-width value)))))
|
||||
|
||||
update-cap-attr
|
||||
(fn [& kvs]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue