0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 17:18:21 -05:00

🐛 Fix problem with multiplayer cursors

This commit is contained in:
alonso.torres 2024-02-01 16:58:06 +01:00
parent 7fa47d68a8
commit 3a260825b9

View file

@ -83,6 +83,7 @@
;; position changes.
(->> stream
(rx/filter mse/pointer-event?)
(rx/filter #(= :viewport (mse/get-pointer-source %)))
(rx/pipe (rxs/throttle 100))
(rx/map #(handle-pointer-send file-id (:pt %)))))