💄 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

@ -16,11 +16,11 @@
[uxbox.util.geom.matrix :as gmt]
[uxbox.util.geom.point :as gpt]))
;; --- Rect Component
;; --- Rect Wrapper
(declare rect-shape)
(mf/defc rect-component
(mf/defc rect-wrapper
[{:keys [shape] :as props}]
(let [selected (mf/deref refs/selected-shapes)
selected? (contains? selected (:id shape))