Remove statix mixin from shape component.

This commit is contained in:
Andrey Antukh 2016-01-20 23:05:05 +02:00
parent 3bda4f6de3
commit b7afe65272

View file

@ -79,11 +79,11 @@
:on-mouse-up on-mouse-up} :on-mouse-up on-mouse-up}
(shapes/-render shape nil)])))) (shapes/-render shape nil)]))))
(def shape (def ^:static shape
(mx/component (mx/component
{:render shape-render {:render shape-render
:name "shape" :name "shape"
:mixins [mx/static (mx/local {})]})) :mixins [(mx/local {}) rum/reactive]}))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Canvas ;; Canvas