mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
🐛 Fix problems with empty position-data
This commit is contained in:
parent
2cf3e37b7a
commit
3eae3178a2
@ -35,5 +35,8 @@
|
|||||||
|
|
||||||
;; Old components can have texts without position data that must be rendered via foreign key
|
;; Old components can have texts without position data that must be rendered via foreign key
|
||||||
(cond
|
(cond
|
||||||
(some? position-data) [:> svg/text-shape props]
|
(some? position-data)
|
||||||
is-component? [:> fo/text-shape props])))
|
[:> svg/text-shape props]
|
||||||
|
|
||||||
|
(or (nil? position-data) is-component?)
|
||||||
|
[:> fo/text-shape props])))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user