Fix depreaction warnings (changes introduced in 2.9.0 of beicon).

This commit is contained in:
Andrey Antukh 2017-01-30 17:50:44 +01:00
parent a8b7f79194
commit 31b784f046
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
4 changed files with 22 additions and 20 deletions

View file

@ -224,7 +224,7 @@
(uwrk/align-point point)
(rx/of point))))
(rx/take-until stoper)
(rx/with-latest-from vector streams/mouse-position-ctrl)
(rx/with-latest vector streams/mouse-position-ctrl)
(rx/scan accumulate-width shape)
(rx/map (partial calculate-ratio shape)))]
(rx/subscribe stream

View file

@ -78,7 +78,7 @@
(let [stream (->> streams/window-mouse-position
(rx/filter #(:active @local))
(rx/map #(resolve-position own %))
(rx/with-latest-from vector streams/mouse-position-ctrl))
(rx/with-latest vector streams/mouse-position-ctrl))
sub (rx/on-value stream on-value)]
(assoc own ::sub sub))))