mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Convert stroke to event
This commit is contained in:
@@ -71,10 +71,9 @@
|
||||
|
||||
(defn update-stroke-width
|
||||
[value shape-ids]
|
||||
(st/emit!
|
||||
(dch/update-shapes shape-ids (fn [shape]
|
||||
(when (seq (:strokes shape))
|
||||
(assoc-in shape [:strokes 0 :stroke-width] value))))))
|
||||
(dch/update-shapes shape-ids (fn [shape]
|
||||
(when (seq (:strokes shape))
|
||||
(assoc-in shape [:strokes 0 :stroke-width] value)))))
|
||||
|
||||
(defn update-rotation [value shape-ids]
|
||||
(ptk/reify ::update-shape-dimensions
|
||||
|
||||
Reference in New Issue
Block a user