mirror of
https://github.com/penpot/penpot.git
synced 2026-09-06 20:18:39 +00:00
Fix some issues in rendering groups in view app.
This commit is contained in:
parent
dffab9a482
commit
063e82c4a9
@ -59,15 +59,17 @@
|
|||||||
|
|
||||||
;; --- Shapes
|
;; --- Shapes
|
||||||
|
|
||||||
|
(declare shape)
|
||||||
|
|
||||||
(mx/defc shape*
|
(mx/defc shape*
|
||||||
[{:keys [type] :as shape}]
|
[{:keys [type] :as item}]
|
||||||
(case type
|
(case type
|
||||||
:group (group-shape shape #(interactions-wrapper % shape*))
|
:group (group-shape item shape)
|
||||||
:text (text-shape shape)
|
:text (text-shape item)
|
||||||
:icon (icon-shape shape)
|
:icon (icon-shape item)
|
||||||
:rect (rect-shape shape)
|
:rect (rect-shape item)
|
||||||
:path (path-shape shape)
|
:path (path-shape item)
|
||||||
:circle (circle-shape shape)))
|
:circle (circle-shape item)))
|
||||||
|
|
||||||
(mx/defc shape
|
(mx/defc shape
|
||||||
[sid]
|
[sid]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user