0
Fork 0
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:
Andrey Antukh 2016-02-18 22:20:57 +02:00
parent 2d344f4701
commit 9c72cd8a3d

View file

@ -102,7 +102,7 @@
(mx/component
{:render shape-render
:name "shape"
:mixins [(mx/local {}) rum/reactive]}))
:mixins [(mx/local {}) rum/reactive mx/static]}))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Canvas