mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
Merge pull request #5976 from penpot/hotfix-texts
🐛 Fix problems with empty position-data
This commit is contained in:
commit
531b002a5c
@ -35,5 +35,8 @@
|
||||
|
||||
;; Old components can have texts without position data that must be rendered via foreign key
|
||||
(cond
|
||||
(some? position-data) [:> svg/text-shape props]
|
||||
is-component? [:> fo/text-shape props])))
|
||||
(some? position-data)
|
||||
[:> svg/text-shape props]
|
||||
|
||||
(or (nil? position-data) is-component?)
|
||||
[:> fo/text-shape props])))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user