💄 Minor cosmetic improvements on shapes related namespaces.

This commit is contained in:
Andrey Antukh 2019-11-26 18:32:00 +01:00
parent ba96edc620
commit 8e81d796f0
9 changed files with 29 additions and 37 deletions

View file

@ -17,11 +17,11 @@
[uxbox.util.data :refer [classnames normalize-props]]
[uxbox.util.geom.matrix :as gmt]))
;; --- Path Component
;; --- Path Wrapper
(declare path-shape)
(mf/defc path-component
(mf/defc path-wrapper
[{:keys [shape] :as props}]
(let [selected (mf/deref refs/selected-shapes)
selected? (contains? selected (:id shape))]