mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 09:36:13 +02:00
Minor refactor on shapes data events.
Adding more asserts and more specs.
This commit is contained in:
parent
fdf3f1b6f0
commit
b3a2ae3eb2
8 changed files with 281 additions and 205 deletions
|
@ -121,7 +121,7 @@
|
|||
props {:x x1 :y y1 :width width :height height}]
|
||||
(letfn [(on-input [ev]
|
||||
(let [content (dom/event->inner-text ev)]
|
||||
(st/emit! (uds/update-text id {:content content}))))]
|
||||
(st/emit! (uds/update-text id content))))]
|
||||
[:foreignObject props
|
||||
[:div {:style style
|
||||
:ref "container"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue