mirror of
https://github.com/penpot/penpot.git
synced 2026-05-07 17:18:35 +00:00
✨ Add missing variant-switch tracking event
This commit is contained in:
parent
ea5bfbd72d
commit
1080251d9a
@ -715,7 +715,9 @@
|
||||
(do
|
||||
(on-error)
|
||||
(rx/empty))
|
||||
(rx/of (dwl/component-swap shape (:component-file shape) (:id nearest-comp) true))))))))))
|
||||
(rx/of
|
||||
(dwl/component-swap shape (:component-file shape) (:id nearest-comp) true)
|
||||
(ev/event {::ev/name "variant-switch" ::ev/origin "workspace:design-tab"}))))))))))
|
||||
|
||||
(defn variants-switch
|
||||
"Switch each shape (that must be a variant copy head) for the closest one with the property value passed as parameter"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user