mirror of
https://github.com/penpot/penpot.git
synced 2026-09-12 23:19:28 +00: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
@ -102,7 +102,7 @@
|
|||||||
(mx/component
|
(mx/component
|
||||||
{:render shape-render
|
{:render shape-render
|
||||||
:name "shape"
|
:name "shape"
|
||||||
:mixins [(mx/local {}) rum/reactive]}))
|
:mixins [(mx/local {}) rum/reactive mx/static]}))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Canvas
|
;; Canvas
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user