mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
Remove unused code from selrect.
This commit is contained in:
parent
5a73a4f198
commit
8f078876f0
1 changed files with 1 additions and 2 deletions
|
@ -60,8 +60,7 @@
|
||||||
|
|
||||||
(define-once :selrect-subscriptions
|
(define-once :selrect-subscriptions
|
||||||
(letfn [(on-value [pos]
|
(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 []
|
(on-complete []
|
||||||
(let [selrect (selrect->rect @selrect-pos)]
|
(let [selrect (selrect->rect @selrect-pos)]
|
||||||
|
|
Loading…
Reference in a new issue