From 6ee5d08086b2d641ccc1edd32e950969f1aa1ec4 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 22 Jan 2016 19:37:40 +0200 Subject: [PATCH] Add shapes-by-id common lense to workspace.base ns. --- src/uxbox/ui/workspace/base.cljs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/uxbox/ui/workspace/base.cljs b/src/uxbox/ui/workspace/base.cljs index a08e17206..097b5347f 100644 --- a/src/uxbox/ui/workspace/base.cljs +++ b/src/uxbox/ui/workspace/base.cljs @@ -43,6 +43,10 @@ (as-> (l/in [:workspace :flags]) $ (l/focus-atom $ st/state))) +(def ^:static shapes-by-id + (as-> (l/key :shapes-by-id) $ + (l/focus-atom $ st/state))) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Scroll Stream ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;