mirror of
https://github.com/penpot/penpot.git
synced 2026-09-12 06:58:57 +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))))))
|
(st/emit! (dch/update-shapes ids #(assoc % :stroke-alignment value))))))
|
||||||
|
|
||||||
on-stroke-width-change
|
on-stroke-width-change
|
||||||
(fn [event]
|
(fn [value]
|
||||||
(let [value (-> (dom/get-target event)
|
(when-not (str/empty? value)
|
||||||
(dom/get-value)
|
(st/emit! (dch/update-shapes ids #(assoc % :stroke-width value)))))
|
||||||
(d/parse-integer 0))]
|
|
||||||
(when-not (str/empty? value)
|
|
||||||
(st/emit! (dch/update-shapes ids #(assoc % :stroke-width value))))))
|
|
||||||
|
|
||||||
update-cap-attr
|
update-cap-attr
|
||||||
(fn [& kvs]
|
(fn [& kvs]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user