mirror of
https://github.com/penpot/penpot.git
synced 2026-05-11 11:03:52 +00:00
🐛 Fixed problem with stroke
This commit is contained in:
parent
090dbfda10
commit
8b8d614150
@ -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…
x
Reference in New Issue
Block a user