0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 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}))))))
(->> 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/take 1)
(rx/mapcat