mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 17:38:02 +02:00
🎉 Improve frame rendering
This commit is contained in:
parent
59fdf64c66
commit
2db1740ce8
6 changed files with 59 additions and 31 deletions
|
@ -101,7 +101,11 @@
|
|||
:fills (api/set-shape-fills v)
|
||||
:blend-mode (api/set-shape-blend-mode v)
|
||||
:shapes (api/set-shape-children v)
|
||||
nil))
|
||||
nil)
|
||||
;; when something synced with wasm
|
||||
;; is modified, we need to request
|
||||
;; a new render.
|
||||
(api/request-render))
|
||||
(let [delegate (.-delegate ^ShapeProxy self)
|
||||
delegate' (assoc delegate k v)]
|
||||
(if (identical? delegate' delegate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue