mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 06:51:41 +02:00
Fix depreaction warnings (changes introduced in 2.9.0 of beicon).
This commit is contained in:
parent
a8b7f79194
commit
31b784f046
4 changed files with 22 additions and 20 deletions
|
@ -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
|
||||
|
|
|
@ -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))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue