🐛 Fix incorrect stream handling on shape move

Bug introduced in the beicon2 upgrade part2 commit
This commit is contained in:
Andrey Antukh 2023-12-27 11:53:05 +01:00
parent 4fc892a856
commit 49d719fb45

View file

@ -539,7 +539,7 @@
(dwm/set-modifiers false false {:snap-ignore-axis snap-ignore-axis})))))) (dwm/set-modifiers false false {:snap-ignore-axis snap-ignore-axis}))))))
(->> move-stream (->> move-stream
(rx/with-latest-from array/conj ms/mouse-position-alt) (rx/with-latest-from ms/mouse-position-alt)
(rx/filter (fn [[_ alt?]] alt?)) (rx/filter (fn [[_ alt?]] alt?))
(rx/take 1) (rx/take 1)
(rx/mapcat (rx/mapcat