mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 20:57:12 +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))))))
|
(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…
Add table
Add a link
Reference in a new issue