From 8f078876f0a5cd3cf64b9614c337a52a00d9b2ce Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 16 Feb 2016 19:55:00 +0200 Subject: [PATCH] Remove unused code from selrect. --- src/uxbox/ui/workspace/canvas/selrect.cljs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/uxbox/ui/workspace/canvas/selrect.cljs b/src/uxbox/ui/workspace/canvas/selrect.cljs index 18af2a191..f440e9a0e 100644 --- a/src/uxbox/ui/workspace/canvas/selrect.cljs +++ b/src/uxbox/ui/workspace/canvas/selrect.cljs @@ -60,8 +60,7 @@ (define-once :selrect-subscriptions (letfn [(on-value [pos] - (let [pos' (gpt/add pos @wb/scroll-a)] - (swap! selrect-pos assoc :current pos))) + (swap! selrect-pos assoc :current pos)) (on-complete [] (let [selrect (selrect->rect @selrect-pos)]