mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
Add static mixin to shape componet.
Improves dramatically the rendering performance for huge number of objects.
This commit is contained in:
parent
2d344f4701
commit
9c72cd8a3d
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@
|
|||
(mx/component
|
||||
{:render shape-render
|
||||
:name "shape"
|
||||
:mixins [(mx/local {}) rum/reactive]}))
|
||||
:mixins [(mx/local {}) rum/reactive mx/static]}))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Canvas
|
||||
|
|
Loading…
Add table
Reference in a new issue