1
0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-06-11 19:21:38 +02:00

📎 Add debug functions for shape-ref

This commit is contained in:
Pablo Alba 2023-07-27 10:44:32 +02:00 committed by Andrés Moya
parent 577c2b39dc
commit 456b604937
2 changed files with 47 additions and 0 deletions
frontend/src

View file

@ -401,3 +401,12 @@
(defn ^:export fix-orphan-shapes
[]
(st/emit! (dw/fix-orphan-shapes)))
(defn ^:export find-components-norefs
[]
(st/emit! (dw/find-components-norefs)))
(defn ^:export set-shape-ref
[id shape-ref]
(st/emit! (dw/set-shape-ref id shape-ref)))