0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00

Remove unused code from selrect.

This commit is contained in:
Andrey Antukh 2016-02-16 19:55:00 +02:00
parent 5a73a4f198
commit 8f078876f0

View file

@ -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)]